fix forum reactions

pull/6359/head
Thibault Duplessis 2020-04-08 13:45:27 -05:00
parent 78102bc370
commit bea4491128
2 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ object post {
val size = users.size
button(
dataHref := ctx.isAuth option routes.ForumPost.react(post.id, r, !mine(r)).url,
cls := List("fbt" -> true, "mine" -> mine(r), "yes" -> (size > 0), "no" -> (size < 1)),
cls := List("mine" -> mine(r), "yes" -> (size > 0), "no" -> (size < 1)),
title := size > 0 option {
val who =
if (size > 10) s"${users take 8 mkString ", "} and ${size - 8} oters"

View File

@ -25,7 +25,7 @@
button.no {
opacity: 0;
}
&-auth .forum-post:hover & button.no {
.forum-post:hover &-auth button.no {
opacity: .5;
filter: saturate(.5);
}