diff options
| author | Ahmed Abdelhalim <[email protected]> | 2021-05-21 23:27:36 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2021-05-21 23:27:36 +0200 |
| commit | 7852c9f725382df2aed88fa3f957b1a6d272baef (patch) | |
| tree | 1845b00e0ec72a51ec499b401e9d817779f06c47 | |
| parent | e9b3e3733089b1f035889ad925666a012a4827d0 (diff) | |
Add page breaks configurations for all blocks
| -rw-r--r-- | app/print.styl | 6 |
1 files changed, 6 insertions, 0 deletions
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 |
