fix .post_body a not reenabling on click + separate pointer, filter rules

This commit is contained in:
DokterKaj 2024-10-14 15:11:47 +08:00 committed by GitHub
parent 92852cd423
commit ac7eb2e97b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 {