Skip to content

Commit

Permalink
feat(button): prevent hover transition when button is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
undrcrxwn committed Sep 24, 2023
1 parent 2f676da commit ac674ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/ui/button/index.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
color: var(--color-black);
background: var(--color-gray-lightest);

&:hover {
&:not(.disabled):hover {
background: var(--color-white);
}
}
Expand Down

0 comments on commit ac674ba

Please sign in to comment.