From 62133026a9d290c7869a330cf0d7b6f25ba4fb9d Mon Sep 17 00:00:00 2001 From: Deimos Date: Fri, 7 Sep 2018 17:08:39 -0600 Subject: [PATCH] Minor tweaks to (admin) display of comment tags Just some minor adjustments now that I'm actually seeing these in practice. --- tildes/scss/modules/_comment.scss | 7 ++----- tildes/tildes/templates/macros/comments.jinja2 | 6 +++--- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/tildes/scss/modules/_comment.scss b/tildes/scss/modules/_comment.scss index e826769..792b6bb 100644 --- a/tildes/scss/modules/_comment.scss +++ b/tildes/scss/modules/_comment.scss @@ -73,13 +73,12 @@ } .comment-tags { - display: inline-flex; - align-items: center; margin: 0 0 0 0.4rem; list-style-type: none; li { margin-top: 0; + max-width: none; } } @@ -96,9 +95,7 @@ } .comment-tag-count { - font-weight: bold; - font-size: 0.5rem; - margin-right: 0.4rem; + font-size: 0.6rem; } .comment-text { diff --git a/tildes/tildes/templates/macros/comments.jinja2 b/tildes/tildes/templates/macros/comments.jinja2 index 7405538..6798e52 100644 --- a/tildes/tildes/templates/macros/comments.jinja2 +++ b/tildes/tildes/templates/macros/comments.jinja2 @@ -102,10 +102,10 @@
  • {{ tag_name }} - x{{ count }} - ({% for tag in comment.tags if tag.name == tag_name -%} + x{{ count }}: + {% for tag in comment.tags if tag.name == tag_name %} {{ username_linked(tag.user.username) }} - {%- endfor %}) + {% endfor %}
  • {% endfor %}