Skip to content

Commit

Permalink
fix: style of input recovery code in 2fa settings
Browse files Browse the repository at this point in the history
  • Loading branch information
0xJacky committed Jul 23, 2024
1 parent 08ed069 commit a48fde8
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions app/src/views/preference/components/TOTP.vue
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,7 @@ function reset2FA() {
>
<p>{{ $gettext('Input the recovery code:') }}</p>
<AInputGroup compact>
<AInput
v-model:value="inputRecoveryCode"
style="width: calc(100% - 92px)"
/>
<AInput v-model:value="inputRecoveryCode" />
<AButton
type="primary"
@click="reset2FA"
Expand All @@ -172,5 +169,7 @@ function reset2FA() {
</template>

<style scoped lang="less">
:deep(.ant-input-group.ant-input-group-compact) {
display: flex;
}
</style>

0 comments on commit a48fde8

Please sign in to comment.