Skip to content

Commit

Permalink
fix(VSwitch): only affect control opacity when disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
KaelWD committed Aug 9, 2022
1 parent 0cc43e2 commit 1e0a4ad
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/vuetify/src/components/VSwitch/VSwitch.sass
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@

.v-input--selection-controls__input
width: $switch-width
transition: opacity $primary-transition

.v-input--selection-controls__ripple
top: $switch-ripple-top
Expand All @@ -68,8 +69,8 @@
.v-input--selection-controls__ripple
top: $switch-ripple-dense-top

&.v-input--is-dirty
&.v-input--is-disabled
&.v-input--is-dirty.v-input--is-disabled
.v-input--selection-controls__input
opacity: $switch-disabled-opacity

+ltr()
Expand Down

0 comments on commit 1e0a4ad

Please sign in to comment.