Skip to content

Commit

Permalink
Fix the balance of the WordPress logo and inserter. (#21811)
Browse files Browse the repository at this point in the history
These two regressed recently. The margin between the WordPress logo and the inserter button has been balanced to optically match that of the more menu on the right. The Inserter button was set to 32x32 to not be too imposing in the top toolbar, this was unintentionally removed.
  • Loading branch information
jasmussen authored Apr 24, 2020
1 parent 7917af9 commit 2f83264
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@
}
}

.edit-post-header-toolbar__inserter-toggle {
.edit-post-header-toolbar > .edit-post-header-toolbar__inserter-toggle {
margin-right: $grid-unit-10;
// Special dimensions for this button.
min-width: 32px;
width: 32px;
height: 32px;
padding: 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
border: none;
border-radius: 0;
height: auto;
margin-right: -8px;
width: $header-height;
background: #23282e; // WP-admin gray.
transition: all 0.12s ease-in-out;
Expand Down

0 comments on commit 2f83264

Please sign in to comment.