Skip to content

Commit

Permalink
Small margin adjustment for Address (#24)
Browse files Browse the repository at this point in the history
* Small margin adjustment for Address

* https
  • Loading branch information
jacogr authored May 23, 2019
1 parent d85d69f commit 85704d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions packages/extension-ui/src/components/Address.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ export default withAccounts(styled(Address)`
box-sizing: border-box;
margin: ${defaults.boxMargin};
padding: ${defaults.boxPadding};
padding-left: 1.25rem;
padding-top: 0.5rem;
padding-left: 1rem;
.details {
margin: 0;
Expand Down Expand Up @@ -84,7 +83,7 @@ export default withAccounts(styled(Address)`
.icon {
left: 0.25rem;
position: absolute;
top: 0;
top: -0.5rem;
z-index: 1;
}
`);
2 changes: 1 addition & 1 deletion packages/extension/src/background/handlers/State.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export default class State {
}

private stripUrl (url: string): string {
assert(url && (url.indexOf('http:') === 0 || url.indexOf('http:') === 0), `Invalid url ${url}, expected to start with http: or https:`);
assert(url && (url.indexOf('http:') === 0 || url.indexOf('https:') === 0), `Invalid url ${url}, expected to start with http: or https:`);

const parts = url.split('/');

Expand Down

0 comments on commit 85704d5

Please sign in to comment.