From 7eae5f65397ca0b90e98b5e526cb6c7536344148 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Sat, 9 Nov 2019 18:58:07 -0800 Subject: [PATCH] Prevent bad page breaks --- css/style.css | 5 +++-- scss/style.scss | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/css/style.css b/css/style.css index 4153d2b..900ab55 100644 --- a/css/style.css +++ b/css/style.css @@ -81,6 +81,7 @@ div.section-content { margin-left: 20px; } div.position-location { - color: #4d4d4d; } + color: #4d4c4c; } -/*# sourceMappingURL=style.css.map */ +section { + page-break-inside: avoid; } diff --git a/scss/style.scss b/scss/style.scss index d43eac9..fcd054d 100644 --- a/scss/style.scss +++ b/scss/style.scss @@ -112,5 +112,6 @@ div.position-location { color: lighten($color-text, 30%); } -div.position ul { +section { + page-break-inside: avoid; }