From 96e5c6c51c64ff06233117d423d0bb9bcf47bce8 Mon Sep 17 00:00:00 2001 From: k00b Date: Thu, 21 Nov 2024 08:52:24 -0600 Subject: [PATCH] fix #1628 --- components/upvote.module.css | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/components/upvote.module.css b/components/upvote.module.css index 679a3868..4b2f688f 100644 --- a/components/upvote.module.css +++ b/components/upvote.module.css @@ -5,11 +5,6 @@ -webkit-touch-callout: none; } -.upvote:hover { - fill: var(--hover-fill) !important; - filter: var(--hover-filter) !important; -} - .boost { fill: var(--theme-clickToContextColor); user-select: none; @@ -17,9 +12,16 @@ -webkit-touch-callout: none; } -.boost:hover { - fill: var(--hover-fill) !important; - filter: var(--hover-filter) !important; +@media (hover: hover) { + .upvote:hover { + fill: var(--hover-fill) !important; + filter: var(--hover-filter) !important; + } + + .boost:hover { + fill: var(--hover-fill) !important; + filter: var(--hover-filter) !important; + } } .boost.boosted {