Hide the status element off-screen to avoid additional page in PDF print

master
quilicicf 2020-03-12 13:04:15 +01:00
parent 499dc68536
commit 6564950c28
No known key found for this signature in database
GPG Key ID: 0561A23A57B55DE1
2 changed files with 4 additions and 2 deletions

4
dist/reveal.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -292,6 +292,8 @@ export default function( revealElement, options ) {
statusElement.style.position = 'absolute';
statusElement.style.height = '1px';
statusElement.style.width = '1px';
statusElement.style.top = '-1px';
statusElement.style.left = '-1px';
statusElement.style.overflow = 'hidden';
statusElement.style.clip = 'rect( 1px, 1px, 1px, 1px )';
statusElement.classList.add( 'aria-status' );