From 0386c67cc95506d9f4cd7693db5764eb6813b6f5 Mon Sep 17 00:00:00 2001 From: vimux Date: Wed, 20 Jun 2018 12:54:12 +0300 Subject: [PATCH] Fix margins for page block --- layouts/_default/list.html | 2 +- static/css/main.css | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index f264d6c..f8fecf4 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -3,7 +3,7 @@ {{- if or .Title .Content }}
{{ with .Title }}

{{ . }}

{{ end }} - {{ with .Content }}
{{ . }}
{{ end }} + {{ with .Content }}
{{ . }}
{{ end }}
{{ end }}
diff --git a/static/css/main.css b/static/css/main.css index 33b78cc..af47d31 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -595,6 +595,14 @@ mark { margin-top: 1rem; } +.page__content--notitle { + margin: 0; +} + +.page__content p:last-child { + margin-bottom: 0; +} + /* Cards UI*/ .cards { display: flex;