Skip to content

Commit

Permalink
fix(Listbox): no box-shadow on hover (#1163)
Browse files Browse the repository at this point in the history
* fix: no box-shadow on hover

* test: update render baseline
  • Loading branch information
DanielS-Qlik committed Mar 20, 2023
1 parent d97d14a commit 72af025
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apis/nucleus/src/components/listbox/ListBoxInline.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const StyledGrid = styled(Grid, { shouldForwardProp: (p) => !['containerPadding'
[`& .${classes.listboxWrapper}`]: {
padding: containerPadding,
},
'&:focus': {
'&:focus:not(:hover)': {
boxShadow: `inset 0 0 0 2px ${theme.palette.custom.focusBorder} !important`,
},
'&:focus-visible': {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 72af025

Please sign in to comment.