Skip to content

Commit

Permalink
style: 优化登录页软件许可协议提示语样式 (#6712)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengkunwang223 authored Oct 14, 2024
1 parent 02b7744 commit efcf17e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion frontend/src/views/login/components/login-form.vue
Original file line number Diff line number Diff line change
Expand Up @@ -126,14 +126,16 @@
<span class="agree" v-html="$t('commons.login.licenseHelper')"></span>
</template>
</el-checkbox>
</el-form-item>
<div class="agree-helper">
<span
v-if="!loginForm.agreeLicense && !_isMobile()"
class="input-error"
style="line-height: 14px"
>
{{ $t('commons.login.errorAgree') }}
</span>
</el-form-item>
</div>
</el-form>
<div class="demo">
<span v-if="isDemo">
Expand Down Expand Up @@ -514,5 +516,11 @@ onMounted(() => {
:deep(.el-checkbox__input.is-checked .el-checkbox__inner::after) {
border-color: #fff !important;
}
.agree-helper {
min-height: 20px;
margin-top: -20px;
margin-left: 20px;
}
}
</style>

0 comments on commit efcf17e

Please sign in to comment.