Skip to content

Commit

Permalink
fix(material/form-field): style the cursor the same way as the rest o…
Browse files Browse the repository at this point in the history
…f the input (#26491) (#27795)
  • Loading branch information
felhag authored Sep 20, 2023
1 parent c7db496 commit 8c3d8d6
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@
pointer-events: all;
}

.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label {
// Style the cursor the same way as the rest of the input
cursor: inherit;
}

// Reset the height that MDC sets on native input elements. We cannot rely on their
// fixed height as we handle vertical spacing differently. MDC sets a fixed height for
// inputs and modifies the baseline so that the textfield matches the spec. This does
Expand Down

0 comments on commit 8c3d8d6

Please sign in to comment.