Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit 7c1f0b9

Browse files
committed
gh-612 Fix Initial loading spinner only shown briefly
1 parent 4b2ce02 commit 7c1f0b9

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

ui/src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</head>
1010
<body>
1111
<app-root>
12-
<div class="jumbotron vertical-center fade">
12+
<div class="jumbotron vertical-center fade-index-spinner">
1313
<div class="container text-center">
1414
<div class="icon icon-middle" style="font-size: 96px">
1515
<svg class="icon-spinner-lg" width="200px" height="200px" viewBox="0 0 101 101"

ui/src/styles.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,16 @@ table.table {
6767
position: unset;
6868
}
6969

70+
@keyframes fade-index-spinner {
71+
0% { opacity: 0; }
72+
100% { opacity: 1; }
73+
}
74+
75+
.fade-index-spinner {
76+
animation: fade-index-spinner ease-in-out 1s;
77+
animation-fill-mode: forwards;
78+
}
79+
7080
.vertical-center {
7181
background-color: #232b2f;
7282
min-height: 100%; /* Fallback for browsers do NOT support vh unit */

0 commit comments

Comments
 (0)