Skip to content

Commit

Permalink
Add left padding to the categories panel container. (#15075)
Browse files Browse the repository at this point in the history
Prevents the focus state for checkboxes from being trimmed off.
  • Loading branch information
kjellr committed Apr 26, 2019
1 parent a34d52b commit dfd16b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/editor/src/components/post-taxonomies/style.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
.editor-post-taxonomies__hierarchical-terms-list {
max-height: 14em;
overflow: auto;

// Extra left padding prevents checkbox focus borders from being cut off.
padding-left: 2px;
}

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

0 comments on commit dfd16b9

Please sign in to comment.