From d55093a139f239c11b9c0e867ce27247b7b44d98 Mon Sep 17 00:00:00 2001 From: Daniel Richards Date: Tue, 10 Oct 2023 13:42:12 +0800 Subject: [PATCH] Fix scrollbars on pattern transforms (#55069) * Fix scrollbars on pattern transforms * Fix single pattern previews * Improve classname semantics * Remove modal title --- .../block-switcher/pattern-transformations-menu.js | 5 +---- .../block-editor/src/components/block-switcher/style.scss | 6 ++++++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/packages/block-editor/src/components/block-switcher/pattern-transformations-menu.js b/packages/block-editor/src/components/block-switcher/pattern-transformations-menu.js index 83eecd329d8c4..f9a4b7190a6dd 100644 --- a/packages/block-editor/src/components/block-switcher/pattern-transformations-menu.js +++ b/packages/block-editor/src/components/block-switcher/pattern-transformations-menu.js @@ -60,10 +60,7 @@ function PreviewPatternsPopover( { patterns, onSelect } ) { className="block-editor-block-switcher__preview__popover" position="bottom right" > -
-
- { __( 'Preview' ) } -
+