Merge branch 'dev_repackagePrintStyleSheets' of https://github.com/quilicicf/reveal.js into dev
This commit is contained in:
commit
92e3a3680c
13 changed files with 669 additions and 687 deletions
|
@ -371,7 +371,7 @@ export default function( revealElement, options ) {
|
|||
// Limit the size of certain elements to the dimensions of the slide
|
||||
createStyleSheet( '.reveal section>img, .reveal section>video, .reveal section>iframe{max-width: '+ slideWidth +'px; max-height:'+ slideHeight +'px}' );
|
||||
|
||||
document.body.classList.add( 'print-pdf' );
|
||||
document.documentElement.classList.add( 'print-pdf' );
|
||||
document.body.style.width = pageWidth + 'px';
|
||||
document.body.style.height = pageHeight + 'px';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue