Skip to content

Commit

Permalink
fix(form): Select disabled styling
Browse files Browse the repository at this point in the history
Updated the cursor for the Select to be the default cursor instead of
the inherited text cursor while disabled since this mimics the native
`<select>` behavior better.
  • Loading branch information
mlaursen committed Jul 7, 2020
1 parent ef118bf commit d79d007
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/form/src/select/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@

&--disabled {
@include rmd-theme(color, text-disabled-on-background);

// this mimics the native select better since it would show the text icon
// without this while disabled
cursor: default;
}

&__value {
Expand Down

0 comments on commit d79d007

Please sign in to comment.