Skip to content

Commit

Permalink
Block Mover button: do not show focus styles on pointer interactions …
Browse files Browse the repository at this point in the history
…in List view
  • Loading branch information
ciampo committed Oct 19, 2022
1 parent 08daf3b commit ad127b7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/block-editor/src/components/list-view/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -261,9 +261,15 @@
outline: none;
}

&:focus::before {
&:focus-visible::before {
@include block-toolbar-button-style__focus();
}
/* Fallback for browsers without :focus-visible support */
@supports not selector(:focus-visible) {
&:focus::before {
@include block-toolbar-button-style__focus();
}
}

// Focus and toggle pseudo elements.
&::before {
Expand Down

0 comments on commit ad127b7

Please sign in to comment.