Skip to content

Commit

Permalink
Update padding right and class name
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsherman committed May 24, 2024
1 parent babdbfd commit 29f2b25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/block-editor/src/components/inserter/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ $block-inserter-tabs-height: 44px;
flex-direction: column;
overflow: hidden;

.block-editor-inserter__tablist-and-close {
.block-editor-inserter__tablist-and-close-button {
border-bottom: $border-width solid $gray-300;
padding-right: $grid-unit-10;
padding-right: $grid-unit-15;
display: flex;
justify-content: space-between;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/block-editor/src/components/inserter/tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function InserterTabs( { onSelect, children, onClose, selectedTab }, ref ) {
return (
<div className="block-editor-inserter__tabs" ref={ ref }>
<Tabs onSelect={ onSelect } selectedTabId={ selectedTab }>
<div className="block-editor-inserter__tablist-and-close">
<div className="block-editor-inserter__tablist-and-close-button">
<Button
className="block-editor-inserter__close-button"
icon={ closeSmall }
Expand Down

0 comments on commit 29f2b25

Please sign in to comment.