From f56fd398e81eb36ec25689b311d921d39bfd971d Mon Sep 17 00:00:00 2001 From: Andrei Draganescu Date: Fri, 12 Mar 2021 16:21:49 +0000 Subject: [PATCH 1/2] Add padding to link placeholder --- packages/edit-navigation/src/components/editor/style.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/edit-navigation/src/components/editor/style.scss b/packages/edit-navigation/src/components/editor/style.scss index e927740e8921bf..55e3b156108d70 100644 --- a/packages/edit-navigation/src/components/editor/style.scss +++ b/packages/edit-navigation/src/components/editor/style.scss @@ -57,6 +57,10 @@ } } + .wp-block-navigation-link__placeholder { + padding: $grid-unit-15; + } + .wp-block-navigation-link__label { padding: $grid-unit-15; padding-left: $grid-unit-30; From b3b41b64efd8d0bcb1b2f05afceb134b0fa20670 Mon Sep 17 00:00:00 2001 From: Daniel Richards Date: Wed, 24 Mar 2021 17:07:36 +0800 Subject: [PATCH 2/2] Use the same padding rules as link labels --- packages/edit-navigation/src/components/editor/style.scss | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/edit-navigation/src/components/editor/style.scss b/packages/edit-navigation/src/components/editor/style.scss index 55e3b156108d70..62f5985120bdd5 100644 --- a/packages/edit-navigation/src/components/editor/style.scss +++ b/packages/edit-navigation/src/components/editor/style.scss @@ -57,14 +57,13 @@ } } - .wp-block-navigation-link__placeholder { + .wp-block-navigation-link__label, + .wp-block-navigation-link__placeholder-text { padding: $grid-unit-15; + padding-left: $grid-unit-30; } .wp-block-navigation-link__label { - padding: $grid-unit-15; - padding-left: $grid-unit-30; - // Without this Links with submenus display a pointer. cursor: text; }