Skip to content

Commit be943ba

Browse files
authoredFeb 28, 2020
fix(ui5-button): fix icon shrinking (#1258)
Setting smaller width to ui5-button makes its icon shrinking: Setting flex-shrink: 0, preserves the icon size.
1 parent 05b208d commit be943ba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎packages/main/src/themes/Button.css

+1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
top: -.5rem;
6767
position: relative;
6868
color: inherit;
69+
flex-shrink: 0;
6970
}
7071

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

0 commit comments

Comments
 (0)