Set the 2fa image to always have a consistent height, less jarring transition

This commit is contained in:
Dane Everitt 2018-07-04 19:00:20 -07:00
parent 5010c0c756
commit ec8e434375
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53

View File

@ -30,8 +30,8 @@
<h2 class="font-medium text-grey-darkest">{{ $t('dashboard.account.two_factor.setup.title') }}</h2>
<div class="flex mt-6">
<div class="flex-none w-full sm:w-1/2 text-center">
<div>
<img :src="response.qr_image" alt="Two-factor qr image" class="w-3/4">
<div class="h-48">
<img :src="response.qr_image" alt="Two-factor qr image" class="h-48">
</div>
<div>
<p class="text-xs text-grey-darker mb-2">{{ $t('dashboard.account.two_factor.setup.help') }}</p>