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

Fix old ui width in mobile and extension.

This commit is contained in:
Dan 2017-12-08 13:06:56 -03:30 committed by Chi Kei Chan
parent 4e0485938a
commit 71d6403304
2 changed files with 21 additions and 24 deletions

View File

@ -93,32 +93,30 @@ App.prototype.render = function () {
log.debug('Main ui render function')
return (
h('.old-ui', [
h('.flex-column.full-height', {
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'), {
style: {
// Windows was showing a vertical scroll bar:
overflow: 'hidden',
position: 'relative',
alignItems: 'center',
width: '100%',
},
}, [
// 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(),
]),
])
this.renderPrimary(),
]),
])
)
}

View File

@ -61,7 +61,6 @@ input:focus, textarea:focus {
#app-content {
overflow-x: hidden;
min-width: 357px;
height: 100%;
display: flex;
flex-direction: column;