From 3fcc14299d6226142e5fb637fb717acb660b8473 Mon Sep 17 00:00:00 2001 From: Thibault Duplessis Date: Sat, 2 Oct 2021 09:12:48 +0200 Subject: [PATCH] tweaks for #9873 --- app/views/forum/post.scala | 2 +- ui/site/css/forum/_post.scss | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/forum/post.scala b/app/views/forum/post.scala index e29fc6b787..70d4d4224e 100644 --- a/app/views/forum/post.scala +++ b/app/views/forum/post.scala @@ -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 diff --git a/ui/site/css/forum/_post.scss b/ui/site/css/forum/_post.scss index 23215a7ca7..08645a8efd 100644 --- a/ui/site/css/forum/_post.scss +++ b/ui/site/css/forum/_post.scss @@ -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%); }