Skip to content

Commit

Permalink
update classnames
Browse files Browse the repository at this point in the history
  • Loading branch information
scruffian committed May 8, 2024
1 parent 52b40a2 commit 7092ac1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/block-editor/src/components/inserter/tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ function InserterTabs( { onSelect, children, onClose }, ref ) {
return (
<div className="block-editor-inserter__tabs" ref={ ref }>
<Tabs onSelect={ onSelect }>
<div className="editor-inserter-sidebar__header">
<div className="block-editor-inserter-sidebar__header">
<Button
className="editor-inserter-sidebar__close-button"
className="block-editor-inserter-sidebar__close-button"
icon={ closeSmall }
label={ __( 'Close block inserter' ) }
onClick={ () => onClose() }
Expand Down
4 changes: 2 additions & 2 deletions packages/editor/src/components/inserter-sidebar/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
flex-direction: column;
}

.editor-inserter-sidebar__header {
.block-editor-inserter-sidebar__header {
border-bottom: $border-width solid $gray-300;
padding-right: $grid-unit-10;
display: flex;
justify-content: space-between;

.editor-inserter-sidebar__close-button {
.block-editor-inserter-sidebar__close-button {
order: 1;
align-self: center;
}
Expand Down

0 comments on commit 7092ac1

Please sign in to comment.