From 4f2dbf90248f3e21e3dc159c08ef62a223d6632d Mon Sep 17 00:00:00 2001 From: jasmussen Date: Fri, 30 Sep 2022 10:27:58 +0200 Subject: [PATCH] Add comment. --- packages/block-library/src/navigation/style.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/block-library/src/navigation/style.scss b/packages/block-library/src/navigation/style.scss index 47efcff921f6ad..016412d770c428 100644 --- a/packages/block-library/src/navigation/style.scss +++ b/packages/block-library/src/navigation/style.scss @@ -47,6 +47,8 @@ $navigation-icon-size: 24px; display: block; } + // This rule needs extra specificity so that it inherits the correct color from its parent. + // Otherwise, a link color set by a parent group can override the value. .wp-block-navigation-item__content.wp-block-navigation-item__content { color: inherit; }