From 017beb3f954fcdc5eb194314decc986718f86cda Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Sat, 24 Dec 2022 02:36:37 +0300 Subject: [PATCH] remove end content margin --- themes/papercut/layouts/_default/single.html | 2 +- themes/papercut/static/css/styles.css | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/themes/papercut/layouts/_default/single.html b/themes/papercut/layouts/_default/single.html index 3adac12..110e91f 100644 --- a/themes/papercut/layouts/_default/single.html +++ b/themes/papercut/layouts/_default/single.html @@ -31,7 +31,7 @@ -
+
{{ .Content }}
diff --git a/themes/papercut/static/css/styles.css b/themes/papercut/static/css/styles.css index 0b212a3..19b49b1 100644 --- a/themes/papercut/static/css/styles.css +++ b/themes/papercut/static/css/styles.css @@ -55,6 +55,11 @@ body { font-family: 'Ubuntu Mono', monospace !important; } +.content p:last-child, +.content ul:last-child { + margin-bottom: 0; +} + img { display: block; border-radius: 8px;