fix: switch badge hover to opacity:0.8 (shadcn style)
shadcn/Radix badges use hover:bg-primary/80 to reduce opacity to 80%. Apply the same pattern with opacity:0.8 for a subtle, clean 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 {
|
||||
box-shadow: inset 0 0 0 999px rgba(0, 0, 0, 0.06);
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
/* --- Subreddit badge: relative for gear positioning --- */
|
||||
|
||||
Reference in New Issue
Block a user