From f47dbdb7dac04d881e9a7433c92ce877f2e55357 Mon Sep 17 00:00:00 2001 From: Miles Malerba Date: Tue, 12 Jul 2022 16:59:45 +0000 Subject: [PATCH] fix(material-experimental/mdc-form-field): ensure clip-path does not truncate label early --- src/material-experimental/mdc-form-field/form-field.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/material-experimental/mdc-form-field/form-field.scss b/src/material-experimental/mdc-form-field/form-field.scss index 602c2d06bf71..1c20b30f1a7d 100644 --- a/src/material-experimental/mdc-form-field/form-field.scss +++ b/src/material-experimental/mdc-form-field/form-field.scss @@ -128,12 +128,12 @@ // shaped artifact where it meets the top and bottom borders.) .mat-mdc-form-field .mdc-notched-outline__notch { margin-left: -1px; - @include mat.private-clip-path(inset(-9em -9em -9em 1px)); + @include mat.private-clip-path(inset(-9em -999em -9em 1px)); [dir='rtl'] & { margin-left: 0; margin-right: -1px; - @include mat.private-clip-path(inset(-9em 1px -9em -9em)); + @include mat.private-clip-path(inset(-9em 1px -9em -999em)); } }