mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
more bootstrap loading tweaks
This commit is contained in:
parent
cd9961c58c
commit
4ab8fabb81
@ -12,3 +12,20 @@
|
||||
.main {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.loader {
|
||||
text-align: center;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
margin-top: 25vh;
|
||||
|
||||
> div {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.loaderMessage {
|
||||
color: $brand-grey-light;
|
||||
}
|
||||
|
@ -127,7 +127,12 @@ class App extends Component<{}, AppState> {
|
||||
|
||||
<main className={styles.main}>
|
||||
{this.state.isLoading ? (
|
||||
<Spinner />
|
||||
<div className={styles.loader}>
|
||||
<Spinner />
|
||||
<div className={styles.loaderMessage}>
|
||||
Connecting to Ocean...
|
||||
</div>
|
||||
</div>
|
||||
) : (
|
||||
<Routes />
|
||||
)}
|
||||
|
Loading…
Reference in New Issue
Block a user