Skip to content

Commit

Permalink
fix(Switch): remove glowing effect in disabled state (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
cleanerzkp authored Nov 21, 2024
1 parent 97fb79b commit ac9475f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/forms/switch/RuiSwitch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ const { hasError, hasSuccess } = useFormTextDetail(
.input {
@apply appearance-none relative w-full h-full rounded-full bg-rui-grey-400 transition-all duration-75 ease-in-out cursor-pointer;
&:active {
&:active:not(:disabled) {
+ .toggle {
&:before {
@apply opacity-20;
Expand Down

0 comments on commit ac9475f

Please sign in to comment.