From 586cb86ec254d27e323408b265244e072cf3da3f Mon Sep 17 00:00:00 2001 From: Bryan Mutai Date: Mon, 12 May 2025 23:46:34 +0300 Subject: [PATCH] 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 --- components/link-to-context.module.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/components/link-to-context.module.css b/components/link-to-context.module.css index 0d278f2e..7a2081ab 100644 --- a/components/link-to-context.module.css +++ b/components/link-to-context.module.css @@ -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; +}