tweaks for #9873
parent
07b5e7c840
commit
3fcc14299d
|
@ -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
|
||||
|
|
|
@ -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%);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue