From 6bafbb84c081f9c09ccdf51c949026540ba5aa5e Mon Sep 17 00:00:00 2001 From: jasmussen Date: Tue, 27 Apr 2021 13:38:20 +0200 Subject: [PATCH] Fix issues --- packages/block-library/src/navigation-link/style.scss | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/block-library/src/navigation-link/style.scss b/packages/block-library/src/navigation-link/style.scss index 18b726eaab8e6..49e4b0c0636ab 100644 --- a/packages/block-library/src/navigation-link/style.scss +++ b/packages/block-library/src/navigation-link/style.scss @@ -214,17 +214,17 @@ margin: 0 0.5em 0 0; } - .wp-block-page-list > .wp-block-pages-list__item, - .wp-block-navigation__container > .wp-block-navigation-link { + .wp-block-page-list .wp-block-pages-list__item__link, + .wp-block-navigation__container .wp-block-navigation-link__content { padding: 0.5em 1em; } } - // Margins in all submenus. + // Spacing in all submenus. .has-child .submenu-container, .has-child .wp-block-navigation-link__container { - .wp-block-pages-list__item, - .wp-block-navigation-link { + .wp-block-pages-list__item__link, + .wp-block-navigation-link__content { margin: 0; padding: 0.5em 1em; } @@ -253,6 +253,7 @@ @include break-medium { .submenu-container, .wp-block-navigation-link__container { + left: 100%; top: 0; } }