Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions edit-post/components/sidebar/sidebar-header/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand All @@ -33,12 +32,6 @@ const SidebarHeader = ( { children, className, closeLabel, closeSidebar, title }
</div>
<div className={ classnames( 'components-panel__header edit-post-sidebar-header', className ) }>
{ children }
<IconButton
onClick={ closeSidebar }
icon="no-alt"
label={ closeLabel }
shortcut={ shortcuts.toggleSidebar.display }
/>
</div>
</Fragment>
);
Expand Down
17 changes: 0 additions & 17 deletions edit-post/components/sidebar/sidebar-header/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}
9 changes: 0 additions & 9 deletions edit-post/components/sidebar/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down