1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00

Make wallet view visible iff vw above 575px

This commit is contained in:
sdtsui 2017-08-02 12:18:29 -07:00
parent 6f4bee4599
commit 41c585c796
4 changed files with 25 additions and 5 deletions

View File

@ -33,7 +33,7 @@ WalletView.prototype.render = function () {
const selected = '0x82df11beb942BEeeD58d466fCb0F0791365C7684'
const { network } = this.props
return h('div.wallet-view.flex-column', {
return h('div.wallet-view.flex-column.lap-visible', {
style: {
// width: '33.333%',
flexGrow: 1,

View File

@ -718,5 +718,27 @@ div.message-container > div:first-child {
}
.pop-hover:hover {
transform: scale(1.1);
transform: scale(1.1);
}
@media screen and (min-width: 576px) {
.lap-visible {
display: none;
}
.phone-visible {
display: flex;
}
}
@media screen and (max-width: 575px) {
.lap-visible {
display: flex;
}
.phone-visible {
display: none;
}
}

View File

@ -270,4 +270,3 @@ hr.horizontal-line {
margin-top: 20px;
color: red;
}

View File

@ -27,10 +27,9 @@ MainContainer.prototype.render = function () {
overflowY: 'scroll',
}
}, [
h(WalletView, {
style: {
// width: '33.33%',
// height: '82vh',
}
}, [
]),