Skip to content

Commit

Permalink
Fix top position and height of Pattern Modal Sidebar (#56787)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano authored Dec 6, 2023
1 parent 76f09f9 commit ddfdcd9
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 @@ -272,15 +272,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 @@ -449,7 +445,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

1 comment on commit ddfdcd9

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in ddfdcd9.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7113995635
📝 Reported issues:

Please sign in to comment.