Skip to content

Commit

Permalink
fix(ui5-button): fix icon shrinking (#1258)
Browse files Browse the repository at this point in the history
Setting smaller width to ui5-button makes its icon shrinking:
Setting flex-shrink: 0, preserves the icon size.
  • Loading branch information
ilhan007 committed Feb 28, 2020
1 parent 05b208d commit be943ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/main/src/themes/Button.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
top: -.5rem;
position: relative;
color: inherit;
flex-shrink: 0;
}

:host([icon-end]) .ui5-button-root {
Expand Down

0 comments on commit be943ba

Please sign in to comment.