pull/9913/head
Thibault Duplessis 2021-10-02 09:12:48 +02:00
parent 07b5e7c840
commit 3fcc14299d
2 changed files with 4 additions and 4 deletions

View File

@ -46,7 +46,7 @@ object post {
(!post.erased || canModCateg) option div(
authorLink(
post = post,
cssClass = s"author${if (topic.userId == post.userId) " author__op" else ""}".some
cssClass = s"author${(topic.userId == post.userId) ?? " author--op"}".some
),
a(href := url)(
post.updatedAt

View File

@ -17,10 +17,10 @@
margin-right: 1rem;
}
a.author__op {
a.author--op {
@extend %box-radius;
padding: 0.2em;
padding-right: 1em;
border-radius: 0.3em;
padding-right: 0.8em;
background: mix($c-primary, $c-bg-box, 12%);
}