From 71d6403304ad25023efbfb96b00cd420e2d18628 Mon Sep 17 00:00:00 2001 From: Dan Date: Fri, 8 Dec 2017 13:06:56 -0330 Subject: Fix old ui width in mobile and extension. --- old-ui/app/app.js | 44 +++++++++++++++++++++----------------------- 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; -- cgit