Skip to content

Commit

Permalink
fix: added support for text truncation if button width is set
Browse files Browse the repository at this point in the history
  • Loading branch information
rengare committed Mar 9, 2020
1 parent c838081 commit e4effec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/button.scss
Expand Up @@ -61,6 +61,9 @@ $block: #{$fd-namespace}-button;
max-height: $fd-button-height;
min-width: $fd-button-min-width;
line-height: $fd-button-line-height;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;

@include iconSize($fd-button-icon-font-size);

Expand Down

0 comments on commit e4effec

Please sign in to comment.