From 229aaea79a6131befb3ea9764556b86dd2962b8e Mon Sep 17 00:00:00 2001 From: Joen A <1204802+jasmussen@users.noreply.github.com> Date: Wed, 24 Mar 2021 13:50:09 +0100 Subject: [PATCH] Fix padding issues with nav screen. (#30183) * Fix padding issues with nav screen. * Fix for non block themes. --- packages/edit-navigation/src/components/editor/style.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/edit-navigation/src/components/editor/style.scss b/packages/edit-navigation/src/components/editor/style.scss index 62f5985120bdd5..353421d9d18018 100644 --- a/packages/edit-navigation/src/components/editor/style.scss +++ b/packages/edit-navigation/src/components/editor/style.scss @@ -25,7 +25,8 @@ font-family: $default-font; } - .wp-block-navigation-link { + // Increase specificity. + .wp-block-navigation .wp-block-navigation-link { display: block; // Show submenus on click. @@ -48,7 +49,6 @@ } .wp-block-navigation-link__content { - padding: 0; margin-bottom: 6px; border-radius: $radius-block-ui; @@ -59,8 +59,8 @@ .wp-block-navigation-link__label, .wp-block-navigation-link__placeholder-text { - padding: $grid-unit-15; - padding-left: $grid-unit-30; + padding: $grid-unit-05; + padding-left: $grid-unit-10; } .wp-block-navigation-link__label {