Skip to content

Commit f865470

Browse files
committed
feat: move login error message to the bottom of authentication modal
1 parent 39c66fa commit f865470

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

adminforth/spa/src/views/LoginView.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,6 @@
9292
:meta="c.meta"
9393
@update:disableLoginButton="setDisableLoginButton($event)"
9494
/>
95-
96-
<ErrorMessage :error="error" />
9795

9896
<div v-if="loginPromptHTML"
9997
class="flex items-center p-4 mb-4 text-sm text-lightLoginViewPromptText rounded-lg bg-lightLoginViewPromptBackground dark:bg-darkLoginViewPromptBackground dark:text-darkLoginViewPromptText" role="alert"
@@ -108,9 +106,10 @@
108106
{{ $t('Login to your account') }}
109107
</Button>
110108
</form>
111-
112109
</div>
110+
<ErrorMessage v-if="error" :error="error" class="rounded-t-none mb-0 w-full" />
113111
</div>
112+
<div v-if="!error" class="h-[52px]"/>
114113
</div>
115114
</div>
116115

0 commit comments

Comments
 (0)