Skip to content

Commit 2bc17cc

Browse files
committed
fix(material-experimental/mdc-form-field): ensure clip-path does not truncate label early (#25264)
(cherry picked from commit 47e1c65)
1 parent 4078836 commit 2bc17cc

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
@@ -129,12 +129,12 @@
129129
// shaped artifact where it meets the top and bottom borders.)
130130
.mat-mdc-form-field .mdc-notched-outline__notch {
131131
margin-left: -1px;
132-
@include mat.private-clip-path(inset(-9em -9em -9em 1px));
132+
@include mat.private-clip-path(inset(-9em -999em -9em 1px));
133133

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

0 commit comments

Comments
 (0)