style: 优化弹框场景下select全选样式问题 (#8065)

Co-authored-by: qinhaoyan <30946345+qinhaoyan@users.noreply.github.com>
This commit is contained in:
qkiroc 2023-09-12 15:55:37 +08:00 committed by GitHub
parent 92168782ef
commit 8be56d123f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -664,3 +664,27 @@
}
}
}
// 下拉框在弹框中的的时候没有select层所以把这部分单独提出来
.#{$ns}PopOver.#{$ns}Select-popover {
&.#{$ns}PopOver--v-top {
margin-top: px2rem(4px);
}
&.#{$ns}PopOver--v-bottom {
margin-bottom: px2rem(4px);
}
.#{$ns}Select-menu {
.#{$ns}Checkbox span {
line-height: var(--select-base-default-option-line-height);
height: var(--select-base-default-option-line-height);
}
.#{$ns}Select-option {
line-height: var(--select-base-default-option-line-height);
height: var(--select-base-default-option-line-height);
}
.#{$ns}Select-addBtn {
line-height: var(--select-base-default-option-line-height);
height: var(--select-base-default-option-line-height);
}
}
}