Sfoglia il codice sorgente

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

quilicicf 5 anni fa
parent
commit
6564950c28
2 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 1 1
      dist/reveal.min.js
  2. 2 0
      js/reveal.js

File diff suppressed because it is too large
+ 1 - 1
dist/reveal.min.js


+ 2 - 0
js/reveal.js

@@ -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' );

Some files were not shown because too many files changed in this diff