From 4ab8fabb8184bd4d9fd19abe31a44eda8313fa86 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Wed, 13 Feb 2019 12:52:27 +0100 Subject: [PATCH] more bootstrap loading tweaks --- src/App.module.scss | 17 +++++++++++++++++ src/App.tsx | 7 ++++++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/src/App.module.scss b/src/App.module.scss index 1fcb272..aac12ea 100644 --- a/src/App.module.scss +++ b/src/App.module.scss @@ -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; +} diff --git a/src/App.tsx b/src/App.tsx index 8f87468..c15533b 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -127,7 +127,12 @@ class App extends Component<{}, AppState> {
{this.state.isLoading ? ( - +
+ +
+ Connecting to Ocean... +
+
) : ( )}