mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 18:41:38 +01:00
Fix height of login screen
This commit is contained in:
parent
515437a4c9
commit
4e0485938a
@ -116,41 +116,39 @@ App.prototype.render = function () {
|
|||||||
log.debug('Main ui render function')
|
log.debug('Main ui render function')
|
||||||
|
|
||||||
return (
|
return (
|
||||||
h('.new-ui', [
|
h('.flex-column.full-height', {
|
||||||
h('.flex-column.full-height', {
|
style: {
|
||||||
style: {
|
overflowX: 'hidden',
|
||||||
overflowX: 'hidden',
|
position: 'relative',
|
||||||
position: 'relative',
|
alignItems: 'center',
|
||||||
alignItems: 'center',
|
},
|
||||||
},
|
}, [
|
||||||
}, [
|
|
||||||
|
|
||||||
// global modal
|
// global modal
|
||||||
h(Modal, {}, []),
|
h(Modal, {}, []),
|
||||||
|
|
||||||
// app bar
|
// app bar
|
||||||
this.renderAppBar(),
|
this.renderAppBar(),
|
||||||
|
|
||||||
// sidebar
|
// sidebar
|
||||||
this.renderSidebar(),
|
this.renderSidebar(),
|
||||||
|
|
||||||
// network dropdown
|
// network dropdown
|
||||||
h(NetworkDropdown, {
|
h(NetworkDropdown, {
|
||||||
provider: this.props.provider,
|
provider: this.props.provider,
|
||||||
frequentRpcList: this.props.frequentRpcList,
|
frequentRpcList: this.props.frequentRpcList,
|
||||||
}, []),
|
}, []),
|
||||||
|
|
||||||
h(AccountMenu),
|
h(AccountMenu),
|
||||||
|
|
||||||
(isLoading || isLoadingNetwork) && h(Loading, {
|
(isLoading || isLoadingNetwork) && h(Loading, {
|
||||||
loadingMessage: loadMessage,
|
loadingMessage: loadMessage,
|
||||||
}),
|
}),
|
||||||
|
|
||||||
// this.renderLoadingIndicator({ isLoading, isLoadingNetwork, loadMessage }),
|
// this.renderLoadingIndicator({ isLoading, isLoadingNetwork, loadMessage }),
|
||||||
|
|
||||||
// content
|
// content
|
||||||
this.renderPrimary(),
|
this.renderPrimary(),
|
||||||
]),
|
|
||||||
])
|
])
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user