We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b1ae03 commit 440ca6cCopy full SHA for 440ca6c
src/material-experimental/mdc-form-field/_mdc-text-field-structure-overrides.scss
@@ -88,8 +88,9 @@
88
// the shifting since there is no padding the label needs to account for. Note that we do not
89
// want do this for labels in the notched-outline since MDC keeps those labels relative to
90
// the notched outline container, and already applies a specific horizontal spacing which
91
- // we do not want to overwrite.
92
- .mat-mdc-form-field-infix .mdc-floating-label {
+ // we do not want to overwrite. *Note*: We need to have increased specificity for this
+ // override because the `right` property will be set with higher specificity in RTL mode.
93
+ .mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mdc-floating-label {
94
left: 0;
95
right: 0;
96
}
0 commit comments