Merge pull request #5298 from whymarrh/fix-tx-spinner

Fix loading screen height
feature/default_network_editable
Whymarrh Whitby 6 years ago committed by GitHub
commit d39c7646c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ui/app/app.js
  2. 2
      ui/app/components/page-container/index.scss
  3. 1
      ui/app/components/pages/unlock-page/index.scss
  4. 20
      ui/app/css/itcss/components/loading-overlay.scss
  5. 10
      ui/app/css/itcss/components/newui-sections.scss

@ -152,12 +152,14 @@ class App extends Component {
h(AccountMenu),
h('div.main-container-wrapper', [
(isLoading || isLoadingNetwork) && h(Loading, {
loadingMessage: loadMessage,
}),
// content
this.renderRoutes(),
]),
])
)
}

@ -182,5 +182,7 @@
max-height: 82vh;
min-height: 570px;
flex: 0 0 auto;
margin-right: auto;
margin-left: auto;
}
}

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

@ -1,6 +1,6 @@
.loading-overlay {
left: 0;
z-index: 50;
z-index: 51;
position: absolute;
flex-direction: column;
display: flex;
@ -8,25 +8,9 @@
align-items: center;
flex: 1 1 auto;
width: 100%;
height: 100%;
background: rgba(255, 255, 255, .8);
@media screen and (max-width: 575px) {
margin-top: 66px;
height: calc(100% - 66px);
}
@media screen and (min-width: 576px) {
margin-top: 75px;
height: calc(100% - 75px);
}
&--full-screen {
position: fixed;
height: 100vh;
width: 100vw;
margin-top: 0;
}
&__container {
position: absolute;
top: 33%;

@ -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

Loading…
Cancel
Save