From 68c99ca346403112406a37fb10f16a08d55b6088 Mon Sep 17 00:00:00 2001 From: Andrei Draganescu Date: Mon, 14 Aug 2023 14:31:44 +0300 Subject: [PATCH] fix fixed block toolbar collapse button when icon labels are shown --- .../src/components/block-toolbar/style.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/packages/block-editor/src/components/block-toolbar/style.scss b/packages/block-editor/src/components/block-toolbar/style.scss index 0b49c9299212f..eef1678e2dfab 100644 --- a/packages/block-editor/src/components/block-toolbar/style.scss +++ b/packages/block-editor/src/components/block-toolbar/style.scss @@ -252,6 +252,16 @@ flex-shrink: 1; } + @include break-medium() { + .block-editor-block-contextual-toolbar.is-fixed { + .components-toolbar, + .components-toolbar-group { + flex-shrink: 0; + } + } + } + + .block-editor-rich-text__inline-format-toolbar-group { .components-button + .components-button { margin-left: 6px;