style: 优化登录页软件许可协议提示语样式 (#6712)

This commit is contained in:
zhengkunwang 2024-10-14 17:31:18 +08:00 committed by GitHub
parent 02b7744995
commit efcf17e47c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -126,6 +126,8 @@
<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"
@ -133,7 +135,7 @@
>
{{ $t('commons.login.errorAgree') }}
</span>
</el-form-item>
</div>
</el-form>
<div class="demo">
<span v-if="isDemo">
@ -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>