reply edit time spacing #376

This commit is contained in:
rimu 2024-12-09 18:11:32 +13:00
parent 9f1ea40b4e
commit cb0d9317ae
3 changed files with 10 additions and 3 deletions

View file

@ -1995,6 +1995,10 @@ form h5 {
margin-bottom: 0; margin-bottom: 0;
} }
.pt-05 {
padding-top: 0.12rem !important;
}
/* high contrast */ /* high contrast */
@media (prefers-contrast: more) { @media (prefers-contrast: more) {
:root { :root {

View file

@ -1709,6 +1709,10 @@ form {
} }
} }
.pt-05 {
padding-top: .12rem !important;
}
/* high contrast */ /* high contrast */
@import "scss/high_contrast"; @import "scss/high_contrast";

View file

@ -33,9 +33,8 @@
<span title="Submitter of original post" aria-label="{{ _('Post creator') }}" class="small"> [OP]</span> <span title="Submitter of original post" aria-label="{{ _('Post creator') }}" class="small"> [OP]</span>
{% endif -%} {% endif -%}
</div> </div>
<div class="col-auto text-muted small"> <div class="col-auto text-muted small pt-05">
{{ arrow.get(post_reply.posted_at).humanize(locale=locale) }} {{ arrow.get(post_reply.posted_at).humanize(locale=locale) }}{% if post_reply.edited_at -%}, edited {{ arrow.get(post_reply.edited_at).humanize(locale=locale) }}{% endif -%}
{% if post_reply.edited_at -%}, edited {{ arrow.get(post_reply.edited_at).humanize(locale=locale) }} {% endif -%}
</div> </div>
<div class="col-auto"> <div class="col-auto">
{% if post_reply.reports and current_user.is_authenticated and post_reply.post.community.is_moderator(current_user) -%} {% if post_reply.reports and current_user.is_authenticated and post_reply.post.community.is_moderator(current_user) -%}