Small margin adjustment for Address (#24)

* Small margin adjustment for Address

* https
This commit is contained in:
Jaco Greeff
2019-05-23 18:17:47 +02:00
committed by GitHub
parent d85d69f422
commit 85704d5beb
2 changed files with 3 additions and 4 deletions
@@ -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;
@@ -84,7 +83,7 @@ export default withAccounts(styled(Address)`
.icon {
left: 0.25rem;
position: absolute;
top: 0;
top: -0.5rem;
z-index: 1;
}
`);
@@ -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('/');