From 1d2e98e4c1ed088eb6ad9e0b8e263118547c038f Mon Sep 17 00:00:00 2001 From: httpjamesm Date: Wed, 28 Dec 2022 22:55:30 -0500 Subject: [PATCH] style: add margin between comments and divider --- public/question.css | 5 ++++- templates/question.html | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/public/question.css b/public/question.css index c66c8d8..12327b9 100644 --- a/public/question.css +++ b/public/question.css @@ -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); diff --git a/templates/question.html b/templates/question.html index a2d0aac..3e1ca93 100644 --- a/templates/question.html +++ b/templates/question.html @@ -47,7 +47,7 @@
{{ .body }}
-
+

Answers

{{ range $answer := .answers }}
{{ $answer }}