Skip to content

Commit ad5cb51

Browse files
committed
refactor(material/icon): update height to min-height .mat-icon
Updates previous fix to change .mat-mdc-button-base .mat-icon from height: min-content to min-height: min-content to avoid overriding the default .mat-icon height: 24px. This way it defaults to min-content if the height becomes smaller than the 24px. Fixes b/250063405
1 parent 99cb8eb commit ad5cb51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material/icon/icon.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,5 @@ mat-icon {
6767
.mat-mdc-button-base .mat-icon {
6868
flex-shrink: 0;
6969
// stylelint-disable material/no-prefixes
70-
height: min-content;
70+
min-height: min-content;
7171
}

0 commit comments

Comments
 (0)