fix spoiler text not always showing when focused

This commit is contained in:
teddit 2021-02-14 19:07:36 +01:00
parent aeeeaa76b7
commit 75fde29855
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 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) { @media only screen and (max-width: 768px) {
#user .info { #user .info {
float: right; float: right;