fix: use inset shadow darken for badge hover effect
Replace filter:brightness(1.1) with an inset box-shadow overlay that subtly darkens only the background without washing out text or border colors. Matches how GitHub/Bootstrap handle label hover. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -25,7 +25,7 @@ html.rt-enabled .thing.link .flat-list li:has(> .comments) {
|
||||
}
|
||||
|
||||
.rt-badge:hover {
|
||||
filter: brightness(1.1);
|
||||
box-shadow: inset 0 0 0 999px rgba(0, 0, 0, 0.06);
|
||||
}
|
||||
|
||||
/* --- Subreddit badge: relative for gear positioning --- */
|
||||
|
||||
Reference in New Issue
Block a user