Browse Source

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

quilicicf 5 năm trước cách đây
mục cha
commit
6564950c28
2 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 1 1
      dist/reveal.min.js
  2. 2 0
      js/reveal.js

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 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' );

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác