mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fix old ui width in mobile and extension.
This commit is contained in:
parent
4e0485938a
commit
71d6403304
@ -93,32 +93,30 @@ App.prototype.render = function () {
|
|||||||
log.debug('Main ui render function')
|
log.debug('Main ui render function')
|
||||||
|
|
||||||
return (
|
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: {
|
style: {
|
||||||
// Windows was showing a vertical scroll bar:
|
width: '100%',
|
||||||
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(),
|
|
||||||
]),
|
|
||||||
])
|
|
||||||
])
|
])
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
@ -61,7 +61,6 @@ input:focus, textarea:focus {
|
|||||||
|
|
||||||
#app-content {
|
#app-content {
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
min-width: 357px;
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
Loading…
Reference in New Issue
Block a user