mirror of
https://github.com/redlib-org/redlib.git
synced 2025-04-02 04:37:35 +03:00
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)
* 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:
parent
6e2e679a0e
commit
fe4fed0504
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue