Skip to content

Commit

Permalink
Fixing ActionList Item hover focus style (#2255)
Browse files Browse the repository at this point in the history
* Fixing ActionList Item hover focus style

* Create plenty-papayas-reflect.md

Co-authored-by: Katie Langerman <langermank@github.com>
  • Loading branch information
jdrush89 and langermank authored Sep 16, 2022
1 parent 8108377 commit 1a9a668
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/plenty-papayas-reflect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/css": patch
---

Fixing ActionList Item hover focus style
2 changes: 1 addition & 1 deletion src/actionlist/action-list-item.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
cursor: pointer;
background-color: var(--color-action-list-item-default-hover-bg);

&:not(.ActionList-item--navActive) {
&:not(.ActionList-item--navActive):not(:focus-visible) {
// Support for "Windows high contrast mode"
outline: $border-style $border-width transparent;
outline-offset: -$border-width;
Expand Down

0 comments on commit 1a9a668

Please sign in to comment.