From afb5f805adaf40b399c9ba0b66248ee6eb7598c3 Mon Sep 17 00:00:00 2001 From: Carlos Bravo Date: Mon, 27 May 2024 11:22:39 +0200 Subject: [PATCH] added wrong css changes --- .../block-editor/src/components/inserter/style.scss | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/packages/block-editor/src/components/inserter/style.scss b/packages/block-editor/src/components/inserter/style.scss index 1bca09ec92bc17..604268fb1fe431 100644 --- a/packages/block-editor/src/components/inserter/style.scss +++ b/packages/block-editor/src/components/inserter/style.scss @@ -116,7 +116,18 @@ $block-inserter-tabs-height: 44px; overflow: hidden; .block-editor-inserter__tablist { - margin-bottom: -$border-width; + width: 100%; + + button[role="tab"] { + flex-grow: 1; + margin-bottom: -$border-width; + &[id$="reusable"] { + flex-grow: inherit; + // These are to align the `reusable` icon with the search icon. + padding-left: $grid-unit-20; + padding-right: $grid-unit-20; + } + } } .block-editor-inserter__tabpanel {