From 891ca7587bd486e20ae07fa37feaa65514eb957d Mon Sep 17 00:00:00 2001 From: Noah Allen Date: Thu, 20 May 2021 16:23:35 -0700 Subject: [PATCH] Remove editor back button height override (#52835) 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. --- .../src/components/toggle-sidebar-button/style.scss | 3 --- 1 file changed, 3 deletions(-) diff --git a/apps/editing-toolkit/editing-toolkit-plugin/wpcom-block-editor-nav-sidebar/src/components/toggle-sidebar-button/style.scss b/apps/editing-toolkit/editing-toolkit-plugin/wpcom-block-editor-nav-sidebar/src/components/toggle-sidebar-button/style.scss index bc20c6a6dbe6da..c2dd7a6a0f445f 100644 --- a/apps/editing-toolkit/editing-toolkit-plugin/wpcom-block-editor-nav-sidebar/src/components/toggle-sidebar-button/style.scss +++ b/apps/editing-toolkit/editing-toolkit-plugin/wpcom-block-editor-nav-sidebar/src/components/toggle-sidebar-button/style.scss @@ -3,8 +3,6 @@ @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; @@ -12,6 +10,5 @@ &.is-hidden { visibility: hidden; - } }