From c03827327045eb4a20a46d9b1cb0d4b626ed72e3 Mon Sep 17 00:00:00 2001 From: scruffian Date: Mon, 17 Apr 2023 15:40:25 +0100 Subject: [PATCH] Allow list view to scroll --- .../navigation/edit/menu-inspector-controls.js | 18 ++++++++++-------- .../block-library/src/navigation/editor.scss | 4 ++++ 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/packages/block-library/src/navigation/edit/menu-inspector-controls.js b/packages/block-library/src/navigation/edit/menu-inspector-controls.js index 93213d6363d5d6..9e0777c50e02de 100644 --- a/packages/block-library/src/navigation/edit/menu-inspector-controls.js +++ b/packages/block-library/src/navigation/edit/menu-inspector-controls.js @@ -63,14 +63,16 @@ const MainContent = ( { 'You have not yet created any menus. Displaying a list of your Pages' ); return ( - +
+ +
); }; diff --git a/packages/block-library/src/navigation/editor.scss b/packages/block-library/src/navigation/editor.scss index ac1db543d22100..08f4e3904733b5 100644 --- a/packages/block-library/src/navigation/editor.scss +++ b/packages/block-library/src/navigation/editor.scss @@ -657,3 +657,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op .wp-block-navigation__responsive-container-open.components-button { opacity: 1; } + +.wp-block-navigation__menu-inspector-controls { + overflow-x: auto; +}