From 4dca40f96fcfb93d13df6c11e1fc1775523abcc5 Mon Sep 17 00:00:00 2001 From: Christian Schmidt Date: Sat, 5 Oct 2024 16:24:03 +0200 Subject: [PATCH] &__xxx is not allowed inside :yyy --- app/javascript/styles/mastodon/components.scss | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index f50875f144..ba236dfbf0 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -8811,6 +8811,7 @@ noscript { &__item { flex-shrink: 0; background: lighten($ui-base-color, 12%); + color: $darker-text-color; border: 0; border-radius: 3px; margin: 2px; @@ -8847,7 +8848,6 @@ noscript { font-weight: 500; text-align: center; margin-inline-start: 6px; - color: $darker-text-color; } &:hover, @@ -8856,10 +8856,7 @@ noscript { background: lighten($ui-base-color, 16%); transition: all 200ms ease-out; transition-property: background-color, color; - - &__count { - color: lighten($darker-text-color, 4%); - } + color: lighten($darker-text-color, 4%); } &.active { @@ -8870,10 +8867,7 @@ noscript { $ui-highlight-color, 80% ); - - .reactions-bar__item__count { - color: lighten($highlight-text-color, 8%); - } + color: lighten($highlight-text-color, 8%); } }