Skip to content

Commit

Permalink
Fix hiding focus outline
Browse files Browse the repository at this point in the history
Recently changed to prevent display in editor UI. Caused rule to
disable focus rect after non-keyboard input to have to low
specificity.
  • Loading branch information
tf committed Sep 28, 2023
1 parent 9a7a985 commit fd0e3e7
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ body > :global(#root) [tabindex]:focus {
outline: 3px solid #518ad2;
}

.focusOutlineDisabled [tabindex]:focus,
.focusOutlineDisabled button:focus,
.focusOutlineDisabled a:focus {
.focusOutlineDisabled > :global(#root) [tabindex]:focus,
.focusOutlineDisabled > :global(#root) button:focus,
.focusOutlineDisabled > :global(#root) a:focus {
outline: none;
}

0 comments on commit fd0e3e7

Please sign in to comment.