fix spoiler text not always showing when focused

This commit is contained in:
teddit 2021-02-14 19:12:02 +01:00
parent c64581d6a8
commit 420df6bd45
1 changed files with 5 additions and 0 deletions

View File

@ -1466,6 +1466,11 @@ code {
background: #fff0; background: #fff0;
transition: none; transition: none;
} }
.md .md-spoiler-text:not(.revealed):active *,
.md .md-spoiler-text:not(.revealed):focus *,
.md .md-spoiler-text:not(.revealed):hover * {
opacity: 1;
}
@media only screen and (max-width: 768px) { @media only screen and (max-width: 768px) {
#user .info { #user .info {
float: right; float: right;