Skip to content

Commit 38681cf

Browse files
committed
fix(login): adjust styles to keep loading indicator placement consistent
1 parent e7cf0d0 commit 38681cf

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/components/AppComponent.vue

+8-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,10 @@ const onBack = () => {
7878
</RouterView>
7979
</header>
8080
<RouterView v-slot="{ Component }">
81-
<main ref="mainRef" :class="{ 'full-height': !isAuthenticated }">
81+
<main
82+
ref="mainRef"
83+
:class="{ 'full-height': !isAuthenticated, loading: !Component }"
84+
>
8285
<GridBackground v-if="!Component" :size="20" />
8386
<Transition name="scale" mode="out-in">
8487
<KeepAlive>
@@ -186,6 +189,10 @@ const onBack = () => {
186189
&.full-height {
187190
min-height: var(--full-height);
188191
margin-top: 0;
192+
193+
:deep(.loading-container) {
194+
padding-top: layout.$header-navbar-height;
195+
}
189196
}
190197
}
191198

0 commit comments

Comments
 (0)