Skip to content

Commit

Permalink
Fix: editor focus style issue
Browse files Browse the repository at this point in the history
  • Loading branch information
up1512001 committed Jul 14, 2024
1 parent 330bc31 commit 5248a6d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions packages/edit-site/src/components/layout/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -251,3 +251,21 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
padding-left: 16px;
padding-right: 16px;
}

.edit-site-layout.is-full-canvas {
.edit-site-layout__view-mode-toggle.components-button {
&:focus-visible,
&:focus {

box-shadow: none;
outline: none;
outline-offset: 0;

.edit-site-site-icon svg {
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color, #3858e9);
outline: 3px solid #0000;
}

}
}
}

0 comments on commit 5248a6d

Please sign in to comment.