diff options
author | Dan <danjm.com@gmail.com> | 2017-12-09 00:36:56 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-12-13 04:31:52 +0800 |
commit | 71d6403304ad25023efbfb96b00cd420e2d18628 (patch) | |
tree | 07e36580baeef73b58160ea8c71063bee3a6d10e /old-ui | |
parent | 4e0485938a84f665aef466ef34e90299c5863ff4 (diff) | |
download | tangerine-wallet-browser-71d6403304ad25023efbfb96b00cd420e2d18628.tar tangerine-wallet-browser-71d6403304ad25023efbfb96b00cd420e2d18628.tar.gz tangerine-wallet-browser-71d6403304ad25023efbfb96b00cd420e2d18628.tar.bz2 tangerine-wallet-browser-71d6403304ad25023efbfb96b00cd420e2d18628.tar.lz tangerine-wallet-browser-71d6403304ad25023efbfb96b00cd420e2d18628.tar.xz tangerine-wallet-browser-71d6403304ad25023efbfb96b00cd420e2d18628.tar.zst tangerine-wallet-browser-71d6403304ad25023efbfb96b00cd420e2d18628.zip |
Fix old ui width in mobile and extension.
Diffstat (limited to 'old-ui')
-rw-r--r-- | old-ui/app/app.js | 44 | ||||
-rw-r--r-- | old-ui/app/css/index.css | 1 |
2 files changed, 21 insertions, 24 deletions
diff --git a/old-ui/app/app.js b/old-ui/app/app.js index b1a9d68ba..7a380396e 100644 --- a/old-ui/app/app.js +++ b/old-ui/app/app.js @@ -93,32 +93,30 @@ App.prototype.render = function () { log.debug('Main ui render function') return ( - h('.old-ui', [ - h('.flex-column.full-height', { - style: { - // Windows was showing a vertical scroll bar: - overflow: 'hidden', - position: 'relative', - alignItems: 'center', - }, - }, [ + h('.flex-column.full-height', { + style: { + // Windows was showing a vertical scroll bar: + overflow: 'hidden', + position: 'relative', + alignItems: 'center', + }, + }, [ - // app bar - this.renderAppBar(), - this.renderNetworkDropdown(), - this.renderDropdown(), + // app bar + this.renderAppBar(), + this.renderNetworkDropdown(), + this.renderDropdown(), - this.renderLoadingIndicator({ isLoading, isLoadingNetwork, loadMessage }), + this.renderLoadingIndicator({ isLoading, isLoadingNetwork, loadMessage }), - // panel content - h('.app-primary' + (transForward ? '.from-right' : '.from-left'), { - style: { - width: '100%', - }, - }, [ - this.renderPrimary(), - ]), - ]) + // panel content + h('.app-primary' + (transForward ? '.from-right' : '.from-left'), { + style: { + width: '100%', + }, + }, [ + this.renderPrimary(), + ]), ]) ) } diff --git a/old-ui/app/css/index.css b/old-ui/app/css/index.css index c2f2b6070..d47d81e58 100644 --- a/old-ui/app/css/index.css +++ b/old-ui/app/css/index.css @@ -61,7 +61,6 @@ input:focus, textarea:focus { #app-content { overflow-x: hidden; - min-width: 357px; height: 100%; display: flex; flex-direction: column; |