From fe4fed050420ad11bdf7069536ad8ca8af39c560 Mon Sep 17 00:00:00 2001 From: Butter Cat Date: Fri, 27 Sep 2024 00:44:32 -0400 Subject: [PATCH] Make jump to comment work from user's page and make last

in the post and comment bodies get the margin above it like the others (#219) * Make last

in post body get padding above it * When going to a comment from a user's page jump to it on page load --- static/style.css | 2 +- templates/user.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/static/style.css b/static/style.css index 888d2ff..2351419 100644 --- a/static/style.css +++ b/static/style.css @@ -1731,7 +1731,7 @@ input[type="submit"] { width: 100%; } -.md > p:not(:first-child):not(:last-child) { +.md > p:not(:first-child) { margin-top: 20px; } diff --git a/templates/user.html b/templates/user.html index 3725130..8fe01fc 100644 --- a/templates/user.html +++ b/templates/user.html @@ -61,7 +61,7 @@ body %}

{{ post.link_title }}