Skip to content

Commit

Permalink
Fix block tab spacing when few available blocks (#61296)
Browse files Browse the repository at this point in the history
Co-authored-by: jeryj <[email protected]>
Co-authored-by: scruffian <[email protected]>
  • Loading branch information
3 people authored May 2, 2024
1 parent 4defd9d commit 4c0b137
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/block-editor/src/components/inserter/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,6 @@ $block-inserter-tabs-height: 44px;
flex-direction: column;
overflow-y: auto;
}

// The first tab panel needs space-between to prevent a flash of the "hint" from appearing at the top then moving down.
.block-editor-inserter__tablist + .block-editor-inserter__tabpanel {
justify-content: space-between;
}
}

.block-editor-inserter__no-tab-container {
Expand Down

0 comments on commit 4c0b137

Please sign in to comment.