From ad4f994e5c15876b0860490ae40ce36cfd6fb4da Mon Sep 17 00:00:00 2001 From: Andrej Shadura <andrew.shadura@collabora.co.uk> Date: Tue, 27 Apr 2021 21:21:05 +0200 Subject: [PATCH] Avoid page breaks directly after headings Signed-off-by: Andrej Shadura <andrew.shadura@collabora.co.uk> --- themes/beautifulhugo/static/css/main.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/themes/beautifulhugo/static/css/main.css b/themes/beautifulhugo/static/css/main.css index 2566e3c46..5bad6925f 100644 --- a/themes/beautifulhugo/static/css/main.css +++ b/themes/beautifulhugo/static/css/main.css @@ -24,6 +24,8 @@ h1,h2,h3,h4,h5,h6 { color: #3a5a80; margin-top: -60px; padding-top: 80px; + break-after: avoid-page; + page-break-after: avoid; } a { -- GitLab