Skip to content

Commit

Permalink
Style focus, not hover
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyEJohnson committed Sep 4, 2024
1 parent ce568dc commit 8c24ab4
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 13 deletions.
1 change: 0 additions & 1 deletion src/app/components/Dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@ export const DropdownList = styled(TrappingDropdownList)`
font-size: 1.4rem;
line-height: 2rem;
&:hover,
&:focus {
background: ${theme.color.neutral.formBorder};
${defaultFocusOutline}
Expand Down
4 changes: 0 additions & 4 deletions src/app/components/__snapshots__/DotMenu.spec.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,6 @@ exports[`Dropdown matches snapshot 1`] = `
line-height: 2rem;
}
.c12 li button:hover,
.c12 li a:hover,
.c12 li button:focus,
.c12 li a:focus {
background: #d5d5d5;
Expand Down Expand Up @@ -451,8 +449,6 @@ exports[`Dropdown matches snapshot on right align 1`] = `
line-height: 2rem;
}
.c12 li button:hover,
.c12 li a:hover,
.c12 li button:focus,
.c12 li a:focus {
background: #d5d5d5;
Expand Down
4 changes: 0 additions & 4 deletions src/app/components/__snapshots__/Dropdown.spec.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,6 @@ exports[`Dropdown matches snapshot 1`] = `
line-height: 2rem;
}
.c6 li button:hover,
.c6 li a:hover,
.c6 li button:focus,
.c6 li a:focus {
background: #d5d5d5;
Expand Down Expand Up @@ -442,8 +440,6 @@ exports[`Dropdown matches snapshot for tab hidden (open) 1`] = `
line-height: 2rem;
}
.c4 li button:hover,
.c4 li a:hover,
.c4 li button:focus,
.c4 li a:focus {
background: #d5d5d5;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -552,8 +552,6 @@ exports[`ContextMenu match snapshot when open 1`] = `
line-height: 2rem;
}
.c13 li button:hover,
.c13 li a:hover,
.c13 li button:focus,
.c13 li a:focus {
background: #d5d5d5;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -457,8 +457,6 @@ exports[`DisplayNote matches snapshot when focused with opened dropdown 1`] = `
line-height: 2rem;
}
.c12 li button:hover,
.c12 li a:hover,
.c12 li button:focus,
.c12 li a:focus {
background: #d5d5d5;
Expand Down

0 comments on commit 8c24ab4

Please sign in to comment.