Skip to content

Commit

Permalink
Fix top position and height of Pattern Modal Sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano committed Dec 5, 2023
1 parent c362e62 commit b8d2e9f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions packages/block-editor/src/components/inserter/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -268,15 +268,11 @@ $block-inserter-tabs-height: 44px;
}
}

.block-editor-inserter__block-patterns-tabs-container,
.block-editor-block-patterns-explorer__sidebar {
.block-editor-inserter__block-patterns-tabs-container {
height: 100%;
nav {
height: 100%;
}
.block-editor-block-patterns__source-filter select.components-select-control__input {
height: 40px;
}
}

.block-editor-inserter__block-patterns-tabs {
Expand Down Expand Up @@ -445,7 +441,7 @@ $block-inserter-tabs-height: 44px;
.block-editor-block-patterns-explorer {
&__sidebar {
position: absolute;
top: $header-height + $grid-unit-20;
top: $header-height + $grid-unit-15;
left: 0;
bottom: 0;
width: $sidebar-width;
Expand Down

0 comments on commit b8d2e9f

Please sign in to comment.