From 75fde2985594dd62837f70c95a79214de18a37e5 Mon Sep 17 00:00:00 2001 From: teddit Date: Sun, 14 Feb 2021 19:07:36 +0100 Subject: [PATCH] fix spoiler text not always showing when focused --- static/css/styles.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/static/css/styles.css b/static/css/styles.css index c87b48f..7884c31 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -1466,6 +1466,11 @@ code { background: #fff0; transition: none; } +.md .md-spoiler-text:not(.revealed):active p, +.md .md-spoiler-text:not(.revealed):focus p, +.md .md-spoiler-text:not(.revealed):hover p { + opacity: 1; +} @media only screen and (max-width: 768px) { #user .info { float: right;