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;
}
.pt-05 {
padding-top: 0.12rem !important;
}
/* high contrast */
@media (prefers-contrast: more) {
:root {

View file

@ -1709,6 +1709,10 @@ form {
}
}
.pt-05 {
padding-top: .12rem !important;
}
/* 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>
{% endif -%}
</div>
<div class="col-auto text-muted small">
{{ 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 -%}
<div class="col-auto text-muted small pt-05">
{{ 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 -%}
</div>
<div class="col-auto">
{% if post_reply.reports and current_user.is_authenticated and post_reply.post.community.is_moderator(current_user) -%}