Skip to content

Commit

Permalink
fix: disabled button doesn't change background on hover
Browse files Browse the repository at this point in the history
  • Loading branch information
klimenkoff9 authored and artmsilva committed Apr 21, 2022
1 parent ed542b1 commit b6f3680
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ui/button/src/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ export const Button = styled("button", {
color: "$onDisabled",
backgroundColor: "$colors$disabled",
borderColor: "$colors$onDisabled",
"@hover": {
"&:hover": {
backgroundColor: "$colors$disabled",
},
},
},

variants: {
Expand Down

1 comment on commit b6f3680

@vercel
Copy link

@vercel vercel bot commented on b6f3680 Apr 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

wpds-ui-kit – ./

wpds-ui-kit.preview.now.washingtonpost.com
wpds-ui-kit-git-main.preview.now.washingtonpost.com

Please sign in to comment.