Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit cb9e4c0

Browse files
Yavanostacopybara-github
authored andcommitted
fix(textfield): increase specificity of label-text-populated-typography to override default styles for outlined textfield
PiperOrigin-RevId: 475896832
1 parent 81e4cb7 commit cb9e4c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/mdc-textfield/_text-field-theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ $_light-theme: (
457457
}
458458

459459
@mixin _label-text-populated-typography($typography-theme) {
460-
.mdc-floating-label--float-above {
460+
.mdc-notched-outline--upgraded .mdc-floating-label--float-above {
461461
@include typography.theme-styles($typography-theme);
462462
}
463463
}

0 commit comments

Comments
 (0)