From ebd30401a8896ea30eef35f184692ed718bceced Mon Sep 17 00:00:00 2001 From: Matt Kilgore Date: Fri, 24 Apr 2020 11:58:38 -0400 Subject: [PATCH] fix: Removed mentions specific spoiler code (#14) Also fixed links, code and images in spoiler, and hopefully all other children. The block spoiler works fine without fixes, global spoiler class causes issues. --- extensions/markdown/less/forum.less | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/extensions/markdown/less/forum.less b/extensions/markdown/less/forum.less index 4467dbb35..2252f4ef8 100644 --- a/extensions/markdown/less/forum.less +++ b/extensions/markdown/less/forum.less @@ -5,10 +5,16 @@ * LICENSE file that was distributed with this source code. */ -.PostMention, .UserMention { - .spoiler & { - background: #444; - color: transparent; +span.spoiler { + background: #444; + color: transparent; + cursor: default; + * { + pointer-events: none; padding: 0; + color: transparent; + } + img { + visibility: hidden; } }