Commit 8523397
authored
fix(material/button): prevents mat-icon being cut off by text-spacing (#30891)
* fix(material/button): prevents mat-icon being cut off with text-spacing vertically
Updates Angular Components Button component specifically for .mat-icon buttons to
add a min-height of min-content to avoid the icon from being cut off on the bottom
when text-spacing is applied.
Fixes b/250063405
* fix(material/button): adds flex-shrink to prevent sides cutoff
Updates previous changes to Angular Components buttons containing
icons and adds flex-shrink: 0; to prevent the sides from being
cut off when text-spacing is applied or on smaller screens.
Fixes b/411228600
* refactor(material/button): fix lint error
Adds comment to fix lint error.1 parent 623030b commit 8523397
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
12 | 18 | | |
13 | 19 | | |
14 | 20 | | |
| |||
0 commit comments