style: 修复设计态弹窗中放 fieldset 渲染器宽度过宽的问题 (#10192)

This commit is contained in:
liaoxuezhi 2024-05-09 17:46:25 +08:00 committed by GitHub
parent 37de6ea70f
commit 8800cf4c6b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View File

@ -17,6 +17,8 @@
var(--collapse-default-bottom-left-border-radius);
padding: 0;
line-height: px2rem(20px);
// 很神奇设计态弹窗里面放个字段级 fieldset 就会撑开好宽
min-width: 0;
// overflow: hidden;
&-header {

View File

@ -22,6 +22,11 @@
white-space: nowrap;
}
& > .#{$ns}Form-control {
flex: 1;
min-width: 0;
}
&-addOn {
background: var(--InputGroup-addOn-bg);
border: var(--InputGroup-addOn-borderWidth) solid
@ -80,6 +85,7 @@
.#{$ns}SearchBox {
flex-basis: 0;
flex-grow: 1;
min-width: 0;
display: inline-flex;
&:not(:first-child) {