2
0
Эх сурвалжийг харах

Fix vertical align for spinner

JC Brand 2 сар өмнө
parent
commit
afcaf8f3a6

+ 4 - 2
src/templates/styles/spinner.scss

@@ -1,7 +1,9 @@
 converse-spinner {
     &.vertically-centered {
-        height: 100%;
-        margin-top: 30%;
+        display: flex;
+        align-items: center;
+        justify-content: center;
+        height: 100%; /* Ensure the parent has a defined height */
     }
 }