diff --git a/edit-post/components/sidebar/sidebar-header/index.js b/edit-post/components/sidebar/sidebar-header/index.js index 19b58e26ab5c0b..61d6f67d4ef3e9 100644 --- a/edit-post/components/sidebar/sidebar-header/index.js +++ b/edit-post/components/sidebar/sidebar-header/index.js @@ -16,7 +16,6 @@ import { withDispatch, withSelect } from '@wordpress/data'; * Internal dependencies */ import './style.scss'; -import shortcuts from '../../../keyboard-shortcuts'; const SidebarHeader = ( { children, className, closeLabel, closeSidebar, title } ) => { return ( @@ -33,12 +32,6 @@ const SidebarHeader = ( { children, className, closeLabel, closeSidebar, title }
{ children } -
); diff --git a/edit-post/components/sidebar/sidebar-header/style.scss b/edit-post/components/sidebar/sidebar-header/style.scss index 9350e87f0c2103..0ef7a188588f78 100644 --- a/edit-post/components/sidebar/sidebar-header/style.scss +++ b/edit-post/components/sidebar/sidebar-header/style.scss @@ -14,20 +14,3 @@ display: none; } } - -.components-panel__header.edit-post-sidebar-header { - padding-right: $panel-padding / 2; - - .components-icon-button { - display: none; - margin-left: auto; - - ~ .components-icon-button { - margin-left: 0; - } - - @include break-medium() { - display: flex; - } - } -} diff --git a/edit-post/components/sidebar/style.scss b/edit-post/components/sidebar/style.scss index f7c6cdb99e30b4..5393c18d561a06 100644 --- a/edit-post/components/sidebar/style.scss +++ b/edit-post/components/sidebar/style.scss @@ -151,15 +151,6 @@ padding-right: $panel-padding / 2; border-top: 0; margin-top: 0; - - .components-icon-button { - display: none; - margin-left: auto; - - @include break-medium() { - display: flex; - } - } } .edit-post-sidebar__panel-tab {