Skip to content

Commit

Permalink
Remove editor back button height override (#52835)
Browse files Browse the repository at this point in the history
In newer Gutenberg versions, this causes about a pixel
of whitespace above the button, which is very glaring.
Removing the override results in a clean UI in both prod
and edge.
  • Loading branch information
noahtallen authored May 20, 2021
1 parent 60f28ec commit 891ca75
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,12 @@
@import '../nav-sidebar/style.scss';

.wpcom-block-editor-nav-sidebar-toggle-sidebar-button__button {
height: $header-height !important;

// Match this animation with the nav-sidebar, so that the button is not hidden
// before the sidebar menu finishes sliding out.
transition: visibility $sidebar-transition-period linear;
@include reduce-motion( 'transition' );

&.is-hidden {
visibility: hidden;

}
}

0 comments on commit 891ca75

Please sign in to comment.