Skip to content

Commit

Permalink
Avoid focus style from being cut on the categories panel (#24197)
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Jul 27, 2020
1 parent 05e0756 commit 91deccb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/editor/src/components/post-taxonomies/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
overflow: auto;

// Extra left padding prevents checkbox focus borders from being cut off.
padding-left: 2px;
margin-left: -$border-width * 4 - $border-width-focus;
padding-left: $border-width * 4 + $border-width-focus;
margin-top: -$border-width * 4 - $border-width-focus;
padding-top: $border-width * 4 + $border-width-focus;
}

.editor-post-taxonomies__hierarchical-terms-choice {
Expand Down

0 comments on commit 91deccb

Please sign in to comment.