From a8d047b319c89a26c96d9141a430953365b2941a Mon Sep 17 00:00:00 2001 From: Jdrewniak Date: Tue, 16 Jul 2024 11:27:49 -0400 Subject: [PATCH] Increase specificity in dark-mode feedback link styles Prevents dark-mode feedback link from turning blue when clicked, caused by styles in the `.mixin-vector-dropdown-menu-item()` mixin Additionally, decreases the size of the heart icon beside the dark-mode feedback link. Bug: T367871 Change-Id: I348dbafcc3d3d3519da77dc6799818fdd743bba2 --- .../clientPreferences.less | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/resources/skins.vector.clientPreferences/clientPreferences.less b/resources/skins.vector.clientPreferences/clientPreferences.less index 1f709c86a..14c9101a6 100644 --- a/resources/skins.vector.clientPreferences/clientPreferences.less +++ b/resources/skins.vector.clientPreferences/clientPreferences.less @@ -5,13 +5,13 @@ font-size: 0.875rem; padding: 6px 0; } -} -.vector-icon.vector-icon--heart { - .cdx-mixin-css-icon( @cdx-icon-heart, @color-success ); -} + a.skin-theme-beta-notice-success { + color: @color-success; + pointer-events: none; + } -.skin-theme-beta-notice-success { - color: @color-success; - pointer-events: none; + .vector-icon.vector-icon--heart { + .cdx-mixin-css-icon( @cdx-icon-heart, @color-success, @size-icon-small ); + } }