Parcourir la source

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

quilicicf il y a 5 ans
Parent
commit
6564950c28
2 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 1 1
      dist/reveal.min.js
  2. 2 0
      js/reveal.js

Fichier diff supprimé car celui-ci est trop grand
+ 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' );

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff