mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 03:29:39 +08:00
fix(select): tags mode white space wrapping issue (#27726)
Co-authored-by: baxtergu <gu.shengnan@iwhalecloud.com>
This commit is contained in:
parent
d514768eac
commit
9bcd511ae6
@ -78,7 +78,7 @@
|
||||
display: inline-block;
|
||||
margin-right: @padding-xs / 2;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
white-space: pre; // fix whitespace wrapping. custom tags display all whitespace within.
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
@ -123,7 +123,7 @@
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 999;
|
||||
white-space: nowrap;
|
||||
white-space: pre; // fix whitespace wrapping caused width calculation bug
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user