From 094e382cc8935767b79ca0f31fca7a22f67ab87f Mon Sep 17 00:00:00 2001
From: Serhii Myronets <serhii.myronets@lembergsolutions.com>
Date: Thu, 12 Dec 2024 15:17:27 +0200
Subject: [PATCH] Issue #3480708: Improve link states in the description and
 comment - update

---
 assets/css/brand.css   | 5 +++--
 assets/css/preview.css | 5 +++--
 components/brand.scss  | 5 ++++-
 3 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/assets/css/brand.css b/assets/css/brand.css
index 4572d7a..c21d590 100644
--- a/assets/css/brand.css
+++ b/assets/css/brand.css
@@ -271,8 +271,9 @@ fieldset[disabled] .btn-accent.focus {
           text-decoration-color: #33b5e5;
 }
 
-.comment__text p a:not(.btn) {
-  color: #33b5e5;
+.comment__text p a:not(.btn):hover, .comment__text p a:not(.btn):focus {
+  -webkit-text-decoration-color: #33b5e5;
+          text-decoration-color: #33b5e5;
 }
 
 blockquote {
diff --git a/assets/css/preview.css b/assets/css/preview.css
index 3c5b735..3643bfd 100644
--- a/assets/css/preview.css
+++ b/assets/css/preview.css
@@ -2459,8 +2459,9 @@ fieldset[disabled] .btn-accent.focus {
           text-decoration-color: #33b5e5;
 }
 
-.comment__text p a:not(.btn) {
-  color: #33b5e5;
+.comment__text p a:not(.btn):hover, .comment__text p a:not(.btn):focus {
+  -webkit-text-decoration-color: #33b5e5;
+          text-decoration-color: #33b5e5;
 }
 
 blockquote {
diff --git a/components/brand.scss b/components/brand.scss
index d435686..098e638 100644
--- a/components/brand.scss
+++ b/components/brand.scss
@@ -278,7 +278,10 @@
 
 .comment__text p {
   a:not(.btn) {
-    color: $brand-link;
+    &:hover,
+    &:focus {
+      text-decoration-color: $brand-link;
+    }
   }
 }
 
-- 
GitLab