Skip to content

Commit

Permalink
Fix vertical overflow when inserter is open in post and site editor (#…
Browse files Browse the repository at this point in the history
…57127)

* Toggle classname for inserter

* Adjust overflow when inserter is open

* Revert "Toggle classname for inserter"

This reverts commit 95f0a72.

* Revert "Adjust overflow when inserter is open"

This reverts commit 40fba9e.

* Fix vertical overflow for inserter main area

Co-authored-by: Aki Hamano <54422211+t-hamano@users.noreply.github.com>

---------

Co-authored-by: Aki Hamano <54422211+t-hamano@users.noreply.github.com>
  • Loading branch information
colorful-tones and t-hamano authored Dec 20, 2023
1 parent 6630e0a commit 6bbf33c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/block-editor/src/components/inserter/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ $block-inserter-tabs-height: 44px;
flex-direction: column;
height: 100%;
gap: $grid-unit-20;
overflow-y: hidden;

&.show-as-tabs {
gap: 0;
}
Expand Down

0 comments on commit 6bbf33c

Please sign in to comment.