Browse Source

🐛 Fix Select ellipsis bug in Firefox (#22033)

close #22017
pull/22038/head
偏右 5 years ago
committed by GitHub
parent
commit
2b102f8494
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/select/style/index.less

2
components/select/style/index.less

@ -65,6 +65,7 @@
// ======================== Selection ======================== // ======================== Selection ========================
&-selection-item { &-selection-item {
flex: 1;
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
@ -72,6 +73,7 @@
// ======================= Placeholder ======================= // ======================= Placeholder =======================
&-selection-placeholder { &-selection-placeholder {
flex: 1;
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;

Loading…
Cancel
Save