Adjust inline edit jumps (#11)

This commit is contained in:
Jaco Greeff 2019-05-21 12:21:25 +02:00 committed by GitHub
parent 9737c8551b
commit 971f4e4a1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 19 additions and 12 deletions

1
.gitignore vendored
View File

@ -9,6 +9,7 @@ tmp/
.env.production.local
.npmrc
lerna-debug.log*
master-build.zip
npm-debug.log*
yarn-debug.log*
yarn-error.log*

View File

@ -9,5 +9,5 @@
"packages": [
"packages/*"
],
"version": "0.1.0"
"version": "0.1.1-beta.0"
}

View File

@ -18,6 +18,7 @@
},
"scripts": {
"build": "NODE_ENV=production polkadot-dev-build-ts",
"buildzip": "(cd packages/extension/build && zip -r -FS ../../../master-build.zip *)",
"check": "yarn lint",
"lint": "tslint --project . && tsc --noEmit --pretty",
"clean": "polkadot-dev-clean-build",

View File

@ -1,7 +1,7 @@
{
"name": "@polkadot/extension-ui",
"description": "A sample signer extension for the @polkadot/api",
"version": "0.1.0",
"version": "0.1.1-beta.0",
"author": "Jaco Greeff <jacogr@gmail.com>",
"license": "Apache-2",
"dependencies": {

View File

@ -11,8 +11,8 @@ import { editAccount } from '../../messaging';
import { Name } from '../../partials';
type Props = {
className?: string,
address: string
address: string,
className?: string
};
export default function Account ({ address, className }: Props) {

View File

@ -58,22 +58,27 @@ export default styled(Address)`
padding: ${defaults.boxPadding};
position: relative;
.address,
.name {
padding-left: 4.75rem;
}
.address {
opacity: 0.5;
overflow: hidden;
padding-left: 4.75rem;
text-overflow: ellipsis;
}
.icon {
left: 0;
position: absolute;
top: -0.75rem;
top: 0;
z-index: 1;
}
.name {
padding: 0.5rem 0 0.5rem 4.75rem;
margin-top: -0.75rem;
input {
margin: -0.5rem 0;
}
}
}
`;

View File

@ -1,12 +1,12 @@
{
"name": "@polkadot/extension",
"description": "A sample signer extension for the @polkadot/api",
"version": "0.1.0",
"version": "0.1.1-beta.0",
"author": "Jaco Greeff <jacogr@gmail.com>",
"license": "Apache-2",
"dependencies": {
"@polkadot/api": "^0.79.0-beta.31",
"@polkadot/extension-ui": "^0.1.0",
"@polkadot/extension-ui": "^0.1.1-beta.0",
"@polkadot/ui-keyring": "^0.39.0-beta.5"
},
"devDependencies": {