Skip to content

Commit ec8e434

Browse files
committed
Set the 2fa image to always have a consistent height, less jarring transition
1 parent 5010c0c commit ec8e434

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/assets/scripts/components/dashboard/account/TwoFactorAuthentication.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
<h2 class="font-medium text-grey-darkest">{{ $t('dashboard.account.two_factor.setup.title') }}</h2>
3131
<div class="flex mt-6">
3232
<div class="flex-none w-full sm:w-1/2 text-center">
33-
<div>
34-
<img :src="response.qr_image" alt="Two-factor qr image" class="w-3/4">
33+
<div class="h-48">
34+
<img :src="response.qr_image" alt="Two-factor qr image" class="h-48">
3535
</div>
3636
<div>
3737
<p class="text-xs text-grey-darker mb-2">{{ $t('dashboard.account.two_factor.setup.help') }}</p>

0 commit comments

Comments
 (0)