Small margin adjustment for Address (#24)
* Small margin adjustment for Address * https
This commit is contained in:
@@ -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('/');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user