From 7ccac41d7ab9646e3c852d540056150d929f6e17 Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Fri, 24 Jan 2025 05:41:04 +1300 Subject: [PATCH] margin on post body --- app/static/styles.css | 4 ---- app/static/styles.scss | 4 ---- app/templates/post/_post_full.html | 2 +- 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/app/static/styles.css b/app/static/styles.css index 5885c028..b454f909 100644 --- a/app/static/styles.css +++ b/app/static/styles.css @@ -1475,10 +1475,6 @@ fieldset legend { float: right; } -.post_body { - padding-top: 10px; -} - .post_body, .comment_body { word-wrap: break-word; } diff --git a/app/static/styles.scss b/app/static/styles.scss index 3929fce2..e883b25e 100644 --- a/app/static/styles.scss +++ b/app/static/styles.scss @@ -1143,10 +1143,6 @@ fieldset { float: right; } -.post_body { - padding-top: 10px; -} - .post_body, .comment_body { word-wrap: break-word; diff --git a/app/templates/post/_post_full.html b/app/templates/post/_post_full.html index 4fefa7d1..c49874b3 100644 --- a/app/templates/post/_post_full.html +++ b/app/templates/post/_post_full.html @@ -11,7 +11,7 @@ width="{{ post.image.thumbnail_width }}" height="{{ post.image.thumbnail_height }}" loading="lazy" /> {% endif -%} -
{% if post.reports > 0 and current_user.is_authenticated and post.community.is_moderator(current_user) -%} +
{% if post.reports > 0 and current_user.is_authenticated and post.community.is_moderator(current_user) -%} {% endif -%}submitted by {{ render_username(post.author, htmx_redirect_back_to=request.path) }}