Skip to content

Commit 47e1c65

Browse files
authored
fix(material-experimental/mdc-form-field): ensure clip-path does not truncate label early (#25264)
1 parent fd2811b commit 47e1c65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,12 @@
128128
// shaped artifact where it meets the top and bottom borders.)
129129
.mat-mdc-form-field .mdc-notched-outline__notch {
130130
margin-left: -1px;
131-
@include mat.private-clip-path(inset(-9em -9em -9em 1px));
131+
@include mat.private-clip-path(inset(-9em -999em -9em 1px));
132132

133133
[dir='rtl'] & {
134134
margin-left: 0;
135135
margin-right: -1px;
136-
@include mat.private-clip-path(inset(-9em 1px -9em -9em));
136+
@include mat.private-clip-path(inset(-9em 1px -9em -999em));
137137
}
138138
}
139139

0 commit comments

Comments
 (0)