From 7852c9f725382df2aed88fa3f957b1a6d272baef Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Fri, 21 May 2021 23:27:36 +0200 Subject: Add page breaks configurations for all blocks --- app/print.styl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/print.styl b/app/print.styl index b65082c..cf29210 100644 --- a/app/print.styl +++ b/app/print.styl @@ -68,6 +68,9 @@ article { } .writing, .projects { + // avoid page breaks inside the writing and projects sections + page-break-inside: avoid + article { // title h2 { @@ -82,6 +85,9 @@ article { } .education { + // avoid page breaks inside the education section + page-break-inside: avoid + article { // remove the extra space added for the website margin-bottom: 0 -- cgit v1.2.3