Skip to content

Commit d33010e

Browse files
committed
refactor(material/icon): provides context for undoing previous fix
Updates notation to style change in icon.scss which undoes a previous bug fix for GH issue #11826. As this change is now deemed as an accessibility issue due to it being cut off/hidden. Fixes b/250063405 BREAKING CHANGE: undoes hiding icon overflow Reverts icon having its overflow visible to be more accessible.
1 parent 162f8d1 commit d33010e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: src/material/icon/icon.scss

+3-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ mat-icon {
4141
}
4242

4343
// Makes button icon overflow visible to fix b/250063405
44-
// Apply styles to avoid applying text-spacing to .mat-icon
44+
// Undoes previous fix to Issue #11826 in preference of
45+
// fixing to improve accessibility by not having the icon
46+
// get cut off
4547
overflow: visible;
4648
}
4749

0 commit comments

Comments
 (0)