1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-19 08:19:15 +08:00

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> <span class="agree" v-html="$t('commons.login.licenseHelper')"></span>
</template> </template>
</el-checkbox> </el-checkbox>
</el-form-item>
<div class="agree-helper">
<span <span
v-if="!loginForm.agreeLicense && !_isMobile()" v-if="!loginForm.agreeLicense && !_isMobile()"
class="input-error" class="input-error"
@ -133,7 +135,7 @@
> >
{{ $t('commons.login.errorAgree') }} {{ $t('commons.login.errorAgree') }}
</span> </span>
</el-form-item> </div>
</el-form> </el-form>
<div class="demo"> <div class="demo">
<span v-if="isDemo"> <span v-if="isDemo">
@ -514,5 +516,11 @@ onMounted(() => {
:deep(.el-checkbox__input.is-checked .el-checkbox__inner::after) { :deep(.el-checkbox__input.is-checked .el-checkbox__inner::after) {
border-color: #fff !important; border-color: #fff !important;
} }
.agree-helper {
min-height: 20px;
margin-top: -20px;
margin-left: 20px;
}
} }
</style> </style>