Make jump to comment work from user's page and make last <p> in the post and comment bodies get the margin above it like the others (#219)
Release Build / Rust project - latest (aarch64-unknown-linux-musl) (push) Waiting to run
Release Build / Rust project - latest (armv7-unknown-linux-musleabihf) (push) Waiting to run
Release Build / Rust project - latest (x86_64-unknown-linux-musl) (push) Waiting to run
Rust Build & Publish / build (push) Waiting to run
Pull Request / cargo test (push) Waiting to run
Pull Request / cargo fmt --all -- --check (push) Waiting to run
Pull Request / cargo clippy -- -D warnings (push) Waiting to run

* Make last <p> in post body get padding above it

* When going to a comment from a user's page jump to it on page load
This commit is contained in:
Butter Cat
2024-09-27 00:44:32 -04:00
committed by GitHub
parent 6e2e679a0e
commit fe4fed0504
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
}
+1 -1
View File
@@ -61,7 +61,7 @@ body %}
<summary class="comment_data">
<a
class="comment_link"
href="{{ post.permalink }}"
href="{{ post.permalink }}#{{ post.id }}"
title="{{ post.link_title }}"
>{{ post.link_title }}</a
>