Skip to content

Commit

Permalink
fix: hover state in <FocusIndicator/>
Browse files Browse the repository at this point in the history
  • Loading branch information
orangemug committed Sep 18, 2024
1 parent fedb02d commit ff7e90e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ const FocusIndicator = styled(OakBox)<{
: `rgb(255, 229, 85) 0.125rem 0.125rem 0px;`};
}
&:has(button:hover) {
box-shadow: none;
box-shadow: ${(props) =>
props.subFocus ? `rgb(87, 87, 87) 0px 0px 0px 0.125rem` : "none"};
}
&:has(button:active) {
z-index: 2;
Expand Down

0 comments on commit ff7e90e

Please sign in to comment.