Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 1dc0c17

Browse files
devversionThomasBurleson
authored andcommitted
fix(icon): icons should have a minimum height.
* Icons should not shrink on smaller viewport. (At both axis, looks weird and is inconsistent) * Also fixes an issue in the toolbar demo, where the icons shrink, when the viewport is to small. Fixes #7599 Closes #7860
1 parent 96b3216 commit 1dc0c17

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/components/icon/icon.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ md-icon {
77
height: $icon-size;
88
width: $icon-size;
99

10+
// The icons should not shrink on smaller viewports.
11+
min-height: $icon-size;
12+
min-width: $icon-size;
13+
1014
svg {
1115
pointer-events: none;
1216
display: block;

0 commit comments

Comments
 (0)