Skip to content

Commit e5870e9

Browse files
authored
fix(material/form-field): container height in lower densities (#28546)
* The 12px padding being applied to the mat-icon was preventing the form-field container height from condensing in lower densities.
1 parent e8bfb86 commit e5870e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material/form-field/form-field.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ $_icon-prefix-infix-padding: 4px;
144144
z-index: 1;
145145

146146
& > .mat-icon {
147-
padding: 12px;
147+
padding: 0 12px;
148148
// It's common for apps to apply `box-sizing: border-box`
149149
// globally which will break the alignment.
150150
box-sizing: content-box;

0 commit comments

Comments
 (0)