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(AccountMenu),
h('div.main-container-wrapper', [
(isLoading || isLoadingNetwork) && h(Loading, { (isLoading || isLoadingNetwork) && h(Loading, {
loadingMessage: loadMessage, loadingMessage: loadMessage,
}), }),
// content // content
this.renderRoutes(), this.renderRoutes(),
]),
]) ])
) )
} }

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

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

@ -1,6 +1,6 @@
.loading-overlay { .loading-overlay {
left: 0; left: 0;
z-index: 50; z-index: 51;
position: absolute; position: absolute;
flex-direction: column; flex-direction: column;
display: flex; display: flex;
@ -8,25 +8,9 @@
align-items: center; align-items: center;
flex: 1 1 auto; flex: 1 1 auto;
width: 100%; width: 100%;
height: 100%;
background: rgba(255, 255, 255, .8); 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 { &__container {
position: absolute; position: absolute;
top: 33%; top: 33%;

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

Loading…
Cancel
Save