From 3c8d97fc5790320f936ffd93c4efc176ba9774d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Tue, 11 Oct 2022 02:30:24 +0200 Subject: [PATCH] Simplify hover color in link to delete comments Since we were using the default color, we can do so without overwriting it twice. --- app/assets/stylesheets/layout.scss | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss index 11273d15d..91be981d1 100644 --- a/app/assets/stylesheets/layout.scss +++ b/app/assets/stylesheets/layout.scss @@ -1857,11 +1857,9 @@ table { .delete-comment { @include has-fa-icon(trash-alt, regular); - color: $delete; - &:hover, - &:active { - color: $link-hover; + &:not(:hover):not(:active) { + color: $delete; } &::before {