summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--bower.json2
-rw-r--r--css/print/pdf.css3
-rw-r--r--js/reveal.js6
-rw-r--r--package.json2
4 files changed, 7 insertions, 6 deletions
diff --git a/bower.json b/bower.json
index b3bc42d..c7c312d 100644
--- a/bower.json
+++ b/bower.json
@@ -1,6 +1,6 @@
{
"name": "reveal.js",
- "version": "3.4.0",
+ "version": "3.4.1",
"main": [
"js/reveal.js",
"css/reveal.css"
diff --git a/css/print/pdf.css b/css/print/pdf.css
index 4bfcddc..8c3234c 100644
--- a/css/print/pdf.css
+++ b/css/print/pdf.css
@@ -132,13 +132,14 @@ ul, ol, div, p {
}
/* Slide backgrounds are placed inside of their slide when exporting to PDF */
-.reveal section .slide-background {
+.reveal .slide-background {
display: block !important;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
+ z-index: auto !important;
}
/* Display slide speaker notes when 'showNotes' is enabled */
diff --git a/js/reveal.js b/js/reveal.js
index c1c4eca..9251dc0 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -26,7 +26,7 @@
var Reveal;
// The reveal.js version
- var VERSION = '3.4.0';
+ var VERSION = '3.4.1';
var SLIDES_SELECTOR = '.slides section',
HORIZONTAL_SLIDES_SELECTOR = '.slides>section',
@@ -598,14 +598,14 @@
// Dimensions of the PDF pages
var pageWidth = Math.floor( slideSize.width * ( 1 + config.margin ) ),
- pageHeight = Math.floor( slideSize.height * ( 1 + config.margin ) );
+ pageHeight = Math.floor( slideSize.height * ( 1 + config.margin ) );
// Dimensions of slides within the pages
var slideWidth = slideSize.width,
slideHeight = slideSize.height;
// Let the browser know what page size we want to print
- injectStyleSheet( '@page{size:'+ pageWidth +'px '+ pageHeight +'px; margin: 0;}' );
+ injectStyleSheet( '@page{size:'+ pageWidth +'px '+ pageHeight +'px; margin: 0 0 -1px 0;}' );
// Limit the size of certain elements to the dimensions of the slide
injectStyleSheet( '.reveal section>img, .reveal section>video, .reveal section>iframe{max-width: '+ slideWidth +'px; max-height:'+ slideHeight +'px}' );
diff --git a/package.json b/package.json
index 1899fd9..1f866ea 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "reveal.js",
- "version": "3.4.0",
+ "version": "3.4.1",
"description": "The HTML Presentation Framework",
"homepage": "http://lab.hakim.se/reveal-js",
"subdomain": "revealjs",