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

Finalize height for main screens, excluding sidebar

This commit is contained in:
sdtsui 2017-08-02 23:07:35 -07:00
parent c47f81b2e0
commit 01788376d5
3 changed files with 5 additions and 6 deletions

View File

@ -43,12 +43,9 @@ function TxView () {
TxView.prototype.render = function () {
return h('div.tx-view.flex-column', {
style: {
// width: '66.666%',
flexGrow: 2,
flexShrink: 0,
flexBasis: '230px', // .666*345
// flexBasis: '400px',
height: '82vh',
flexBasis: '230px',
background: '#FFFFFF',
}
}, [

View File

@ -36,11 +36,9 @@ WalletView.prototype.render = function () {
return h('div.wallet-view.flex-column' + (responsiveDisplayClassname || ''), {
style: {
// width: '33.333%',
flexGrow: 1,
flexShrink: 0,
flexBasis: '230px', // .333*345
height: '82vh',
background: '#FAFAFA', // TODO: add to reusable colors
...style,
}

View File

@ -744,6 +744,7 @@ div.message-container > div:first-child {
.main-container {
margin-top: 35px;
width: 85%;
height: 90vh;
}
}
@ -751,6 +752,7 @@ div.message-container > div:first-child {
.main-container {
margin-top: 35px;
width: 80%;
height: 82vh;
}
}
@ -758,6 +760,7 @@ div.message-container > div:first-child {
.main-container {
margin-top: 35px;
width: 65%;
height: 82vh;
}
}
@ -774,5 +777,6 @@ div.message-container > div:first-child {
margin-top: 35px;
// position: relative;
width: 100%;
height: 100%
}
}