From 315ce985116da1bbb2cb859613e636c57a23f41e Mon Sep 17 00:00:00 2001 From: Lim Chee Aun <cheeaun@gmail.com> Date: Tue, 27 Feb 2024 23:29:54 +0800 Subject: [PATCH] Fix cloak for catch-up --- src/cloak-mode.css | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/cloak-mode.css b/src/cloak-mode.css index cf5bf757..7a6c32d2 100644 --- a/src/cloak-mode.css +++ b/src/cloak-mode.css @@ -13,7 +13,9 @@ body.cloak, .account-container :is(header, main > *:not(.actions)) *, .header-double-lines, .account-block, - .post-peek-html * { + .catchup-filters .filter-author *, + .post-peek-html *, + .post-peek-content > * { text-decoration-thickness: 1.1em; text-decoration-line: line-through; /* text-rendering: optimizeSpeed; */ @@ -21,7 +23,8 @@ body.cloak, } .name-text *, .status .content-container *, - .account-container :is(header, main > *:not(.actions)) * { + .account-container :is(header, main > *:not(.actions)) *, + .post-peek-content > * { filter: none; } @@ -43,3 +46,7 @@ body.cloak, background-color: var(--text-color) !important; } } + +.catchup-filters .filter-author * { + color: var(--text-color); +}