Skip to content

Commit a48fde8

Browse files
committed
fix: style of input recovery code in 2fa settings
1 parent 08ed069 commit a48fde8

File tree

1 file changed

+4
-5
lines changed
  • app/src/views/preference/components

1 file changed

+4
-5
lines changed

app/src/views/preference/components/TOTP.vue

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,7 @@ function reset2FA() {
156156
>
157157
<p>{{ $gettext('Input the recovery code:') }}</p>
158158
<AInputGroup compact>
159-
<AInput
160-
v-model:value="inputRecoveryCode"
161-
style="width: calc(100% - 92px)"
162-
/>
159+
<AInput v-model:value="inputRecoveryCode" />
163160
<AButton
164161
type="primary"
165162
@click="reset2FA"
@@ -172,5 +169,7 @@ function reset2FA() {
172169
</template>
173170

174171
<style scoped lang="less">
175-
172+
:deep(.ant-input-group.ant-input-group-compact) {
173+
display: flex;
174+
}
176175
</style>

0 commit comments

Comments
 (0)