1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Refactor account name css - mobile views

This commit is contained in:
sdtsui 2017-08-06 19:26:52 -07:00
parent 7cb031eeb9
commit 850d2124c8
4 changed files with 12 additions and 12 deletions

View File

@ -78,11 +78,8 @@ TxView.prototype.render = function () {
}), }),
]), ]),
h('span', { h('span.account-name', {
style: { style: {}
fontSize: '1.2em',
marginLeft: '0.5em', // TODO: switch all units for this component to em
}
}, [ }, [
'Account 1' 'Account 1'
]), ]),

View File

@ -63,11 +63,8 @@ WalletView.prototype.render = function () {
}), }),
]), ]),
h('span', { h('span.account-name', {
style: { style: {}
fontSize: '1.2em',
marginLeft: '0.6em', // TODO: switch all units for this component to em
}
}, [ }, [
'Account 1' 'Account 1'
]), ]),

View File

@ -26,7 +26,7 @@ $break-large: 576px;
.token-amount { .token-amount {
font-size: 175%; font-size: 175%;
margin-top: 15%; margin-top: 12.5%;
} }
.fiat-amount { .fiat-amount {
@ -79,7 +79,7 @@ $break-large: 576px;
border: 1px solid; border: 1px solid;
@media screen and (max-width: $break-small) { @media screen and (max-width: $break-small) {
width: 22%; width: 28%;
height: 55%; height: 55%;
} }

View File

@ -101,3 +101,9 @@
border: 1px solid; border: 1px solid;
} }
} }
// wallet view
.account-name {
font-size: 102%;
margin-left: 3%;
}