feat(auth): qr code width in user form

This commit is contained in:
Denis Gukov 2025-01-03 16:41:42 +05:00
parent 0d846198f1
commit c86e53eda6
No known key found for this signature in database
GPG Key ID: 044381366A5D4731
2 changed files with 7 additions and 4 deletions

View File

@ -55,6 +55,7 @@
:title="$t('editUser')"
v-if="user"
event-name="i-user"
:hide-buttons="hideUserDialogButtons"
>
<template v-slot:form="{ onSave, onError, needSave, needReset }">
<UserForm
@ -65,6 +66,8 @@
:need-save="needSave"
:need-reset="needReset"
:is-admin="user.admin"
@hide-action-buttons="hideUserDialogButtons = true"
@show-action-buttons="hideUserDialogButtons = false"
/>
</template>
</EditDialog>
@ -835,6 +838,7 @@ export default {
newProjectDialog: null,
newProjectType: '',
userDialog: null,
hideUserDialogButtons: false,
passwordDialog: null,
restoreProjectDialog: null,
restoreProjectResult: null,

View File

@ -85,13 +85,12 @@
<img
v-if="totpQrUrl"
:src="totpQrUrl"
width="276"
height="276"
style="
width: 100%;
aspect-ratio: 1;
border-radius: 10px;
border-radius: 4px;
display: block;
margin: 0 auto 20px auto;
margin: 0 auto 10px auto;
border: 10px solid white;
background-color: white;
"