Skip to content

Commit ebf1e33

Browse files
committed
fix: enhance success message layout and improve text alignment for password set confirmation
1 parent 9880ba5 commit ebf1e33

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

custom/SetPassword.vue

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@
3737
<!-- Modal body -->
3838
<div class="p-4 md:p-5">
3939
<!-- Success message -->
40-
<div v-if="passwordSet" class="af-alert-success flex items-center justify-center py-4 mb-4 text-sm rounded-lg dark:text-white" role="alert">
40+
<div v-if="passwordSet" class="af-alert-success flex items-center justify-center pt-4 text-sm rounded-lg dark:text-white" role="alert">
4141
<div v-if="isUserLoggedIn === 'true'" class="text-center w-full">
42-
<p>{{$t('Password set successfully to your new account')}}</p>
43-
<p class="font-bold">{{$t('Stay logged in or log in to another account?')}}</p>
44-
<div class="flex gap-4 w-full justify-between mt-3">
45-
<Button class="flex-1" @click="stayLoggedIn">{{ $t('Stay logged in') }}</Button>
46-
<Button class="flex-1" @click="logoutUser">{{ $t('Log out ') }}</Button>
47-
</div>
42+
<p class="text-start" >{{$t('Password set successfully to your new account')}}</p>
43+
<p class="text-start font-bold pb-4">{{$t('Stay logged in or log in to another account?')}}</p>
44+
<div class="flex gap-4 w-full justify-between mt-4">
45+
<Button class="flex-1" @click="stayLoggedIn">{{ $t('Stay logged in') }}</Button>
46+
<Button class="flex-1" @click="logoutUser">{{ $t('Log out ') }}</Button>
47+
</div>
4848
</div>
4949
<div v-else class="text-center">
5050
<p class="mb-3">{{$t('Password set successfully!')}}</p>

0 commit comments

Comments
 (0)