fix(select): tags mode white space wrapping issue (#27726)

Co-authored-by: baxtergu <gu.shengnan@iwhalecloud.com>
This commit is contained in:
Shengnan 2020-11-14 16:30:13 +08:00 committed by GitHub
parent d514768eac
commit 9bcd511ae6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}