From b82111599b7a795d2574f5495456d635f9ff8a7e Mon Sep 17 00:00:00 2001 From: DokterKaj <54882101+DokterKaj@users.noreply.github.com> Date: Thu, 17 Oct 2024 12:50:44 +0800 Subject: [PATCH] change `post_should_be_blurred &&` to `*post_should_be_blurred &&` + unblur all focused content --- static/style.css | 6 +++--- templates/utils.html | 18 +++++++++--------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/static/style.css b/static/style.css index 4911f30..375a4c8 100644 --- a/static/style.css +++ b/static/style.css @@ -1170,9 +1170,9 @@ a.search_subreddit:hover { } .post_blurred:has(:is(.post_media_content, .post_body, .post_thumbnail):focus-within) { - .post_media_content[tabindex] *, - .post_body[tabindex], - .post_thumbnail[tabindex] * { + .post_media_content *, + .post_body, + .post_thumbnail * { filter: none; } } diff --git a/templates/utils.html b/templates/utils.html index 99a2725..7cd3b89 100644 --- a/templates/utils.html +++ b/templates/utils.html @@ -100,7 +100,7 @@ {% if post.post_type == "image" %} -