Add check to prevent Markdown Heading links from rendering in notifcations (#2152)

* Prevent Markdown Heading links in notifications from being clickable

* make it more explicit and work on other pages

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: k00b <k00b@stacker.news>
This commit is contained in:
Bryan Mutai 2025-05-12 23:46:34 +03:00 committed by GitHub
parent 90c6d5a336
commit 586cb86ec2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -35,3 +35,12 @@
.linkBoxParent img {
pointer-events: auto !important;
}
.linkBoxParent h1 a,
.linkBoxParent h2 a,
.linkBoxParent h3 a,
.linkBoxParent h4 a,
.linkBoxParent h5 a,
.linkBoxParent h6 a {
pointer-events: none !important;
}