From ac7eb2e97bee15bdb30e3d03b036d24d8ca6801a Mon Sep 17 00:00:00 2001 From: DokterKaj <54882101+DokterKaj@users.noreply.github.com> Date: Mon, 14 Oct 2024 15:11:47 +0800 Subject: [PATCH] fix `.post_body a` not reenabling on click + separate pointer, filter rules --- static/style.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/static/style.css b/static/style.css index 1adf1b6..71e9a21 100644 --- a/static/style.css +++ b/static/style.css @@ -1161,13 +1161,20 @@ a.search_subreddit:hover { pointer-events: none; } +.post_blurred .post_media_content:focus a, +.post_blurred .post_media_content:focus ~ .post_body a, +.post_blurred .post_media_content:has(~ .post_body:focus) a, +.post_blurred .post_body:focus a, +.post_blurred .post_thumbnail:focus a { + pointer-events: auto; +} + .post_blurred .post_media_content:focus *, .post_blurred .post_media_content:focus ~ .post_body, .post_blurred .post_media_content:has(~ .post_body:focus) *, .post_blurred .post_body:focus, .post_blurred .post_thumbnail:focus * { filter: none; - pointer-events: auto; } .post_media_image svg {