Skip to content

Commit

Permalink
fix: Cascader text overflow in Firefox (#26011)
Browse files Browse the repository at this point in the history
close #25969
  • Loading branch information
afc163 committed Aug 4, 2020
1 parent b0536c2 commit a2e4b22
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/cascader/style/index.less
Expand Up @@ -192,8 +192,10 @@
}
&-menu-item {
padding: @cascader-dropdown-vertical-padding @control-padding-horizontal;
overflow: hidden;
line-height: @cascader-dropdown-line-height;
white-space: nowrap;
text-overflow: ellipsis;
cursor: pointer;
transition: all 0.3s;
&:hover {
Expand Down

0 comments on commit a2e4b22

Please sign in to comment.