perf: 样式优化 (#149)

This commit is contained in:
wangdan-fit2cloud 2024-04-17 21:35:03 +08:00 committed by GitHub
parent df850894c6
commit 621421cf50
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View File

@ -4,6 +4,7 @@
:disabled="!(containerWeight > contentWeight)"
effect="dark"
placement="bottom"
popper-class="auto-tooltip-popper"
>
<div ref="tagLabel" :class="['auto-tooltip', className]" :style="style">
<slot></slot>

View File

@ -323,4 +323,11 @@
// select下拉框
.select-popper {
max-width: 300px;
.el-select-dropdown__wrap {
max-width: 300px;
}
}
.auto-tooltip-popper {
max-width: 500px;
}