perf: the form collection component optimized on the mobile(#2467)

This commit is contained in:
wangdan-fit2cloud 2025-03-05 15:05:33 +08:00 committed by GitHub
parent ea9c5e0ee8
commit a738932e68
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View File

@ -5,8 +5,9 @@
<el-col :xs="24" :sm="24" :md="24" :lg="12" :xl="12">
<el-card
:key="item.value"
class="item"
class="item break-all"
shadow="never"
style="--el-card-padding: 12px 16px"
:class="[
inputDisabled ? 'is-disabled' : '',
modelValue == item[valueField] ? 'active' : ''
@ -93,8 +94,8 @@ const option_list = computed(() => {
color: var(--el-color-primary);
}
.item {
line-height: 22px;
cursor: pointer;
height: 38px;
display: flex;
justify-content: center;
align-items: center;

View File

@ -419,6 +419,6 @@
color: var(--el-checkbox-text-color);
}
.el-popper {
.el-table .el-popper {
max-width: 500px !important;
}