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

Move main-container wrapper div into its own class

This commit is contained in:
Whymarrh Whitby 2018-09-19 16:43:58 -02:30
parent fbf14cd130
commit 3987f9860f
4 changed files with 13 additions and 2 deletions

View File

@ -152,7 +152,7 @@ class App extends Component {
h(AccountMenu),
h('div.main-container', [
h('div.main-container-wrapper', [
(isLoading || isLoadingNetwork) && h(Loading, {
loadingMessage: loadMessage,
}),

View File

@ -14,6 +14,7 @@
align-self: stretch;
justify-content: center;
flex: 1 0 auto;
height: 100vh;
}
&__mascot-container {

View File

@ -1,6 +1,6 @@
.loading-overlay {
left: 0;
z-index: 256;
z-index: 51;
position: absolute;
flex-direction: column;
display: flex;

View File

@ -22,6 +22,12 @@ $wallet-view-bg: $alabaster;
display: none;
}
.main-container-wrapper {
display: flex;
width: 100vw;
justify-content: center;
}
//Account and transaction details
.account-and-transaction-details {
display: flex;
@ -219,6 +225,10 @@ $wallet-view-bg: $alabaster;
overflow-y: auto;
background-color: $white;
}
.main-container-wrapper {
height: 100%;
}
}
// wallet view