feat: add badgeLayout toggle, rename FOUC class to rt-badges-enabled

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-26 21:10:48 -04:00
parent 7ac47b5c3c
commit 8d3ff72f4f
4 changed files with 20 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
/* --- FOUC prevention: hide original elements immediately --- */
html.rt-enabled .thing.link .tagline .subreddit,
html.rt-enabled .thing.link .flat-list li:has(> .comments) {
html.rt-badges-enabled .thing.link .tagline .subreddit,
html.rt-badges-enabled .thing.link .flat-list li:has(> .comments) {
display: none !important;
}