fix: frontend: initial spinner had weird spinning

Massimo Melina committed Mar 31, 2023 at 17:50 UTC 3690597abd32ef056c0f23e7c995444b237ba602
2 files changed +2 -1
frontend/src/App.ts
+1 -1
@@ -20,7 +20,7 @@ function App() {
20 if (messageOnly)
21 return h('h1', { style: { textAlign: 'center'} }, messageOnly)
22 if (!ready)
23 - return h(Spinner)
23 + return h(Spinner, { style: { marginTop: '1em' } })
24 return h(I18Nprovider, {},
25 h(BrowserRouter, {},
26 h(Routes, {},
frontend/src/index.scss
+1
@@ -175,6 +175,7 @@ header {
175
176 .spinner, .icon.spinner:before {
177 animation: 1.5s spin infinite linear;
178 + display: inline-flex; justify-content: center; align-items: center;
179 }
180 .icon.emoji.spinner { display: inline-block; }
181