Skip to content

Commit

Permalink
Adds in missing styling for toolbar when using text-only setting (#26769
Browse files Browse the repository at this point in the history
)

* Adds in missing styling for toolbar when using text-only setting

* Increases margin

* Moves style to correct file
  • Loading branch information
Tammie Lister authored Nov 10, 2020
1 parent e7f722c commit b112748
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/edit-post/src/components/header/header-toolbar/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,17 @@
}
}

.edit-post-header-toolbar .edit-post-header-toolbar__left > .edit-post-header-toolbar__inserter-toggle.has-text.has-icon {
width: auto;
padding: 0 $grid-unit-10;
}

.show-icon-labels {

.edit-post-header-toolbar__left > * + * {
margin-left: $grid-unit-10;
}

// Always display block toolbar under main toolbar when text labels are visible
.edit-post-header-toolbar__block-toolbar {
@include break-wide {
Expand Down

0 comments on commit b112748

Please sign in to comment.