aboutsummaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2017-04-04 13:37:01 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2017-04-04 13:37:01 +0200
commit2584a6d97090f8987f49ec3aa5abcbdf8b0d1b8e (patch)
treed9d91fc8fda429e32cbf39359e6e7b40cbd212b5 /css
parent3ea7e2ff59a9ec7e0fc549b00fbc5367f17a10f5 (diff)
downloadfosdem-2018-presentation-2584a6d97090f8987f49ec3aa5abcbdf8b0d1b8e.tar
fosdem-2018-presentation-2584a6d97090f8987f49ec3aa5abcbdf8b0d1b8e.tar.gz
new cli and in-browser pdf printing compatible fix for #1804
Diffstat (limited to 'css')
-rw-r--r--css/print/pdf.css7
1 files changed, 4 insertions, 3 deletions
diff --git a/css/print/pdf.css b/css/print/pdf.css
index 8c3234c..20c646a 100644
--- a/css/print/pdf.css
+++ b/css/print/pdf.css
@@ -87,14 +87,14 @@ ul, ol, div, p {
position: relative;
overflow: hidden;
z-index: 1;
+
+ page-break-after: always;
}
.reveal .slides section {
- page-break-after: always !important;
-
visibility: visible !important;
display: block !important;
- position: relative !important;
+ position: absolute !important;
margin: 0 !important;
padding: 0 !important;
@@ -115,6 +115,7 @@ ul, ol, div, p {
}
.reveal section.stack {
+ position: relative !important;
margin: 0 !important;
padding: 0 !important;
page-break-after: avoid !important;