Skip to content

Commit

Permalink
Adjust inline edit jumps (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacogr authored May 21, 2019
1 parent 9737c85 commit 971f4e4
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 12 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ tmp/
.env.production.local
.npmrc
lerna-debug.log*
master-build.zip
npm-debug.log*
yarn-debug.log*
yarn-error.log*
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
"packages": [
"packages/*"
],
"version": "0.1.0"
"version": "0.1.1-beta.0"
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-ui/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
4 changes: 2 additions & 2 deletions packages/extension-ui/src/Popup/Accounts/Account.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
17 changes: 11 additions & 6 deletions packages/extension-ui/src/components/Address.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}
`;
4 changes: 2 additions & 2 deletions packages/extension/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit 971f4e4

Please sign in to comment.