diff --git a/tildes/scss/modules/_topic.scss b/tildes/scss/modules/_topic.scss index 47d199a..2da91b5 100644 --- a/tildes/scss/modules/_topic.scss +++ b/tildes/scss/modules/_topic.scss @@ -90,6 +90,12 @@ margin-right: 0.4rem; } +// Add a colon after the topic-content-type only when there's metadata after it +.topic-content-type:not(:last-child)::after { + content: ": "; + margin-right: 0.2rem; +} + .topic-group { margin-right: 0.4rem; } diff --git a/tildes/tildes/templates/macros/topics.jinja2 b/tildes/tildes/templates/macros/topics.jinja2 index 6381dc6..941d74b 100644 --- a/tildes/tildes/templates/macros/topics.jinja2 +++ b/tildes/tildes/templates/macros/topics.jinja2 @@ -49,7 +49,7 @@ {{ topic.content_type.display_name if topic.content_type else "Link" }} {% if topic.content_metadata_for_display %} - : {{ topic.content_metadata_for_display }} + {{ topic.content_metadata_for_display }} {% endif %} {% if topic.unimportant_tags and request.user and request.user.show_tags_in_listings %}