From b7229953f7c5e18c6a5f4d940f1a5942ae156df8 Mon Sep 17 00:00:00 2001 From: Martin Brennan Date: Fri, 26 May 2023 12:16:34 +0200 Subject: [PATCH] FIX: Hashtag CSS class color specificity (#21766) Followup to eae47d82e22189646ce1b29ea2f3b5b2f8b64312, we removed some specificity from the hashtag color CSS classes, but now the color is being overridden by the base hashtag-cooked.d-icon color. This color is no longer needed, so we just remove that and the specificity. --- app/assets/stylesheets/common/components/hashtag.scss | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/assets/stylesheets/common/components/hashtag.scss b/app/assets/stylesheets/common/components/hashtag.scss index e82714bfa8b..ab328819ddb 100644 --- a/app/assets/stylesheets/common/components/hashtag.scss +++ b/app/assets/stylesheets/common/components/hashtag.scss @@ -14,7 +14,7 @@ a.hashtag { } } -a.hashtag-cooked { +.hashtag-cooked { @include mention; &:visited, @@ -23,7 +23,6 @@ a.hashtag-cooked { } .d-icon { - color: var(--primary-high); font-size: var(--font-down-1); margin: 0 0.2em 0 0.1em; }