Skip to content

Commit b226075

Browse files
committed
fix(popover-edit): incorrect spacing for form field inside popover
For some reason the padding on `mat-form-field` was reset inside the popover edit overlay which made it looked weird. From what I can tell, there's no reason to do this so these changes remove the override.
1 parent 0f6cd05 commit b226075

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/material-experimental/popover-edit/_popover-edit.scss

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,9 @@
100100
}
101101

102102
[mat-edit-content] {
103-
display: block;
104-
105-
mat-form-field {
103+
&,
104+
& mat-form-field {
106105
display: block;
107-
108-
&:not(.mat-form-field-has-label) .mat-form-field-infix {
109-
padding: 0;
110-
}
111106
}
112107
}
113108

0 commit comments

Comments
 (0)