From 70d2fa388ec2b035102c8a2218cdaab69f6babdb Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Sat, 29 Oct 2016 23:35:10 +0800 Subject: Fix slide export pdf styles not applied issue and add shiv and shim for IE --- public/css/slide.css | 12 ++++++++++++ public/views/slide.ejs | 20 ++++++++++++++++---- 2 files changed, 28 insertions(+), 4 deletions(-) diff --git a/public/css/slide.css b/public/css/slide.css index 3f79084b..c590c9ec 100644 --- a/public/css/slide.css +++ b/public/css/slide.css @@ -309,3 +309,15 @@ html, body { .reveal .controls { position: absolute; } + +.print-pdf .container { + position: relative; +} + +.print-pdf .container.hidescrollbar { + right: 0; +} + +.print-pdf .footer { + display: none; +} \ No newline at end of file diff --git a/public/views/slide.ejs b/public/views/slide.ejs index 771c7ad6..1fdb7f8f 100644 --- a/public/views/slide.ejs +++ b/public/views/slide.ejs @@ -40,10 +40,22 @@ - - + + + + + +