Skip to content

Commit

Permalink
[Inserter]: Update pattern explorer button css (#45735)
Browse files Browse the repository at this point in the history
* [Inserter]: Update pattern explorer button css

* add comment
  • Loading branch information
ntsekouras committed Nov 16, 2022
1 parent 7ceca91 commit 5e10c2b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -215,12 +215,6 @@ function BlockPatternsTabs( {
</HStack>
</Item>
) ) }

<div
role="presentation"
className="block-editor-inserter__patterns-fill-space"
/>

<div role="listitem">
<Button
className="block-editor-inserter__patterns-explore-button"
Expand Down
8 changes: 4 additions & 4 deletions packages/block-editor/src/components/inserter/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -279,10 +279,10 @@ $block-inserter-tabs-height: 44px;
padding: $grid-unit-20;
overflow-y: auto;
height: 100%;
}

.block-editor-inserter__patterns-fill-space {
flex-grow: 1;
// Push the listitem wrapping the "explore" button to the bottom of the panel.
div[role="listitem"]:last-child {
margin-top: auto;
}
}

.block-editor-inserter__patterns-category-panel {
Expand Down

0 comments on commit 5e10c2b

Please sign in to comment.