style: add margin between comments and divider

This commit is contained in:
httpjamesm 2022-12-28 22:55:30 -05:00
parent 599d23544b
commit 1d2e98e4c1
2 changed files with 5 additions and 2 deletions

View File

@ -50,9 +50,12 @@ pre {
font-size: 0.8rem;
}
.answer-divider {
.post-divider, .answer-divider {
margin-top: 3rem;
margin-bottom: 3rem;
}
.answer-divider {
border: 0;
height: 1px;
background-color: var(--divider-color);

View File

@ -47,7 +47,7 @@
</div>
<div class="card-body">{{ .body }}</div>
</div>
<hr />
<hr class="post-divider" />
<h2>Answers</h2>
{{ range $answer := .answers }}
<div class="answer">{{ $answer }}</div>