1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +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 () { TxView.prototype.render = function () {
return h('div.tx-view.flex-column', { return h('div.tx-view.flex-column', {
style: { style: {
// width: '66.666%',
flexGrow: 2, flexGrow: 2,
flexShrink: 0, flexShrink: 0,
flexBasis: '230px', // .666*345 flexBasis: '230px',
// flexBasis: '400px',
height: '82vh',
background: '#FFFFFF', background: '#FFFFFF',
} }
}, [ }, [

View File

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

View File

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