From 810cf9ab2cbda7c98f3475475d27bdfe00d41a73 Mon Sep 17 00:00:00 2001 From: Banzobotic <78510207+Banzobotic@users.noreply.github.com> Date: Sun, 20 Aug 2023 21:44:36 +0100 Subject: [PATCH] Use better exception for markdown Now more readable, and doesn't affect other external links such as in sidebar-card --- lib/assets/styles/classes.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/assets/styles/classes.scss b/lib/assets/styles/classes.scss index 935d4848e..13197b0bf 100644 --- a/lib/assets/styles/classes.scss +++ b/lib/assets/styles/classes.scss @@ -233,7 +233,7 @@ a, position: relative; - &:not([rel~=ugc]) { + &:not(.markdown-body a) { pointer-events: none; } @@ -241,7 +241,7 @@ a, scale: 0.95; } - &:not([rel~=ugc])::before { + &:not(.markdown-body a)::before { content: ''; position: absolute; top: 0;