move speaker notes into page container when printing pdf

This commit is contained in:
Hakim El Hattab 2016-06-21 14:21:42 +02:00
parent a12a17b2d7
commit 8d4cb810d6
1 changed files with 3 additions and 3 deletions

View File

@ -649,10 +649,10 @@
page.parentNode.insertBefore( notesElement, page.nextSibling ); page.parentNode.insertBefore( notesElement, page.nextSibling );
} }
else { else {
notesElement.style.left = ( notesSpacing - left ) + 'px'; notesElement.style.left = notesSpacing + 'px';
notesElement.style.bottom = ( notesSpacing - top ) + 'px'; notesElement.style.bottom = notesSpacing + 'px';
notesElement.style.width = ( pageWidth - notesSpacing*2 ) + 'px'; notesElement.style.width = ( pageWidth - notesSpacing*2 ) + 'px';
slide.appendChild( notesElement ); page.appendChild( notesElement );
} }
} }