diff options
Add UI selection
Diffstat (limited to 'old-ui')
-rw-r--r-- | old-ui/app/app.js | 45 |
1 files changed, 23 insertions, 22 deletions
diff --git a/old-ui/app/app.js b/old-ui/app/app.js index e3f72793c..dcf19a0a9 100644 --- a/old-ui/app/app.js +++ b/old-ui/app/app.js @@ -93,31 +93,32 @@ App.prototype.render = function () { log.debug('Main ui render function') return ( - - 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(), - - this.renderLoadingIndicator({ isLoading, isLoadingNetwork, loadMessage }), - - // panel content - h('.app-primary' + (transForward ? '.from-right' : '.from-left'), { + h('.old-ui', [ + h('.flex-column.full-height', { style: { - width: '100%', + // Windows was showing a vertical scroll bar: + overflow: 'hidden', + position: 'relative', + alignItems: 'center', }, }, [ - this.renderPrimary(), - ]), + + // app bar + this.renderAppBar(), + this.renderNetworkDropdown(), + this.renderDropdown(), + + this.renderLoadingIndicator({ isLoading, isLoadingNetwork, loadMessage }), + + // panel content + h('.app-primary' + (transForward ? '.from-right' : '.from-left'), { + style: { + width: '100%', + }, + }, [ + this.renderPrimary(), + ]), + ]) ]) ) } |