mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-06-20 03:38:06 +02:00
Restore is-black class on the Prefill with QR code button
This commit is contained in:
parent
e5f0dab0f5
commit
fd8606aa4b
@ -425,7 +425,8 @@
|
|||||||
<!-- qcode fileupload -->
|
<!-- qcode fileupload -->
|
||||||
<div v-if="!isEditMode" class="field is-grouped">
|
<div v-if="!isEditMode" class="field is-grouped">
|
||||||
<div class="control">
|
<div class="control">
|
||||||
<div role="button" tabindex="0" class="file is-small" @keyup.enter="qrcodeInputLabel.click()">
|
<UseColorMode v-slot="{ mode }">
|
||||||
|
<div role="button" tabindex="0" class="file is-small" :class="{ 'is-black': mode == 'dark' }" @keyup.enter="qrcodeInputLabel.click()">
|
||||||
<label class="file-label" :title="$t('twofaccounts.forms.use_qrcode.title')" ref="qrcodeInputLabel">
|
<label class="file-label" :title="$t('twofaccounts.forms.use_qrcode.title')" ref="qrcodeInputLabel">
|
||||||
<input aria-hidden="true" tabindex="-1" class="file-input" type="file" accept="image/*" v-on:change="uploadQrcode" ref="qrcodeInput">
|
<input aria-hidden="true" tabindex="-1" class="file-input" type="file" accept="image/*" v-on:change="uploadQrcode" ref="qrcodeInput">
|
||||||
<span class="file-cta">
|
<span class="file-cta">
|
||||||
@ -436,6 +437,7 @@
|
|||||||
</span>
|
</span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
</UseColorMode>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<FieldError v-if="qrcodeForm.errors.hasAny('qrcode')" :error="qrcodeForm.errors.get('qrcode')" :field="'qrcode'" class="help-for-file" />
|
<FieldError v-if="qrcodeForm.errors.hasAny('qrcode')" :error="qrcodeForm.errors.get('qrcode')" :field="'qrcode'" class="help-for-file" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user