Skip to content

Commit

Permalink
Add override for block mover handle focused state
Browse files Browse the repository at this point in the history
  • Loading branch information
chad1008 committed Oct 27, 2022
1 parent ea285a4 commit 8d2f12c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/components/src/button/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,11 @@
.components-visually-hidden {
height: auto;
}

// Override for theming on the block mover handle. `.block-editor-block-mover__drag-handle` was needed for specificity to override declaration order.
.components-accessible-toolbar &.block-editor-block-mover__drag-handle:focus::before {
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) $components-color-accent, inset 0 0 0 4px $white;
}
}

@keyframes components-button__busy-animation {
Expand Down

0 comments on commit 8d2f12c

Please sign in to comment.