Skip to content

Commit

Permalink
fix(material/form-field): missing ellipsis for input with long text
Browse files Browse the repository at this point in the history
  • Loading branch information
SaishNarvekar committed Jul 22, 2023
1 parent cc02ea8 commit 75042a8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/material/form-field/form-field.scss
Original file line number Diff line number Diff line change
Expand Up @@ -165,3 +165,11 @@
.mdc-notched-outline--upgraded .mdc-floating-label--float-above {
max-width: calc(100% * 4 / 3 + 1px);
}

.mat-mdc-form-field-type-mat-input {
&.mat-form-field-appearance-fill {
.mat-mdc-floating-label {
max-width: 100%;
}
}
}

0 comments on commit 75042a8

Please sign in to comment.