diff options
-rw-r--r-- | bower.json | 2 | ||||
-rw-r--r-- | css/print/pdf.css | 3 | ||||
-rw-r--r-- | js/reveal.js | 6 | ||||
-rw-r--r-- | package.json | 2 |
4 files changed, 7 insertions, 6 deletions
@@ -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", |