From 4de7c50ec8087679df57b170af0d9164825197ae Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Thu, 1 Oct 2020 18:53:42 +0200 Subject: [PATCH] Comments improvements Signed-off-by: Thomas Citharel --- js/src/components/Comment/Comment.vue | 37 +++++++++++++++++++-------- 1 file changed, 26 insertions(+), 11 deletions(-) diff --git a/js/src/components/Comment/Comment.vue b/js/src/components/Comment/Comment.vue index 799a7010a..d700a2bb8 100644 --- a/js/src/components/Comment/Comment.vue +++ b/js/src/components/Comment/Comment.vue @@ -46,16 +46,17 @@
{{ $t("[This comment has been deleted]") }}
- - - {{ +
+

+ {{ $tc("View a reply", comment.totalReplies, { totalReplies: comment.totalReplies }) - }} - - - {{ $t("Hide replies") }} - - + }} +

+

+ + {{ $t("Hide replies") }} +

+
@@ -397,6 +402,16 @@ form.reply { .load-replies { cursor: pointer; + + & > p > span { + font-weight: bold; + color: $primary; + } +} + +.level-item.reply-btn { + font-weight: bold; + color: $primary; } article {