1
0
mirror of https://github.com/flarum/core.git synced 2025-07-17 06:41:21 +02:00

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.
This commit is contained in:
Matt Kilgore
2020-04-24 11:58:38 -04:00
committed by GitHub
parent 86577e26d2
commit ebd30401a8

View File

@@ -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;
}
}