perf: 样式优化 (#149)
This commit is contained in:
parent
df850894c6
commit
621421cf50
@ -4,6 +4,7 @@
|
|||||||
:disabled="!(containerWeight > contentWeight)"
|
:disabled="!(containerWeight > contentWeight)"
|
||||||
effect="dark"
|
effect="dark"
|
||||||
placement="bottom"
|
placement="bottom"
|
||||||
|
popper-class="auto-tooltip-popper"
|
||||||
>
|
>
|
||||||
<div ref="tagLabel" :class="['auto-tooltip', className]" :style="style">
|
<div ref="tagLabel" :class="['auto-tooltip', className]" :style="style">
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
|
|||||||
@ -323,4 +323,11 @@
|
|||||||
// select下拉框
|
// select下拉框
|
||||||
.select-popper {
|
.select-popper {
|
||||||
max-width: 300px;
|
max-width: 300px;
|
||||||
|
.el-select-dropdown__wrap {
|
||||||
|
max-width: 300px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.auto-tooltip-popper {
|
||||||
|
max-width: 500px;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user