mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Prevent loading screen from overlaying the app bar
Refs #4417
This change is functional copy of 3893469
that solves the problem in a way
that doesn't depend on the height of the app bar since the app bar isn't a
fixed height in the smaller views.
This commit is contained in:
parent
4c37669557
commit
fbf14cd130
@ -152,12 +152,14 @@ class App extends Component {
|
||||
|
||||
h(AccountMenu),
|
||||
|
||||
(isLoading || isLoadingNetwork) && h(Loading, {
|
||||
loadingMessage: loadMessage,
|
||||
}),
|
||||
h('div.main-container', [
|
||||
(isLoading || isLoadingNetwork) && h(Loading, {
|
||||
loadingMessage: loadMessage,
|
||||
}),
|
||||
|
||||
// content
|
||||
this.renderRoutes(),
|
||||
// content
|
||||
this.renderRoutes(),
|
||||
]),
|
||||
])
|
||||
)
|
||||
}
|
||||
|
@ -182,5 +182,7 @@
|
||||
max-height: 82vh;
|
||||
min-height: 570px;
|
||||
flex: 0 0 auto;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
.loading-overlay {
|
||||
left: 0;
|
||||
z-index: 50;
|
||||
z-index: 256;
|
||||
position: absolute;
|
||||
flex-direction: column;
|
||||
display: flex;
|
||||
|
Loading…
Reference in New Issue
Block a user