Enable spoilers in replies

This commit is contained in:
Nicolas Werner 2022-09-11 00:29:23 +02:00
parent 2bdb9c4347
commit 12da7bd08c
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -34,7 +34,7 @@ MatrixText {
border: 1px solid " + Nheko.colors.text + ";
}
blockquote { margin-left: 1em; }
" + (enabled ? "span[data-mx-spoiler] {
" + (!Settings.mobileMode ? "span[data-mx-spoiler] {
color: transparent;
background-color: " + Nheko.colors.text + ";
}" : "") + // TODO(Nico): Figure out how to support mobile