Skip to content

Commit 2d5e84b

Browse files
authored
fix(ui5-togglebutton): vertically align icon in IE (#1824)
1 parent 01fcbe7 commit 2d5e84b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/main/src/themes/ToggleButton.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,6 @@ ui5-togglebutton[design="Emphasized"][focused] .ui5-button-root::after {
101101
}
102102

103103
ui5-togglebutton ui5-icon.ui5-button-icon {
104-
height: 1rem;
104+
height: var(--_ui5_button_icon_font_size); /* Center vertically all icons*/
105105
top: 0;
106106
}

0 commit comments

Comments
 (0)