Browse Source

reset transform in fullscreen mode #3080

hakimel 3 năm trước cách đây
mục cha
commit
a9277f9d46
2 tập tin đã thay đổi với 3 bổ sung2 xóa
  1. 3 2
      css/reveal.scss
  2. 0 0
      dist/reveal.css

+ 3 - 2
css/reveal.scss

@@ -33,13 +33,14 @@ html.reveal-full-page {
 	color: #000;
 	color: #000;
 }
 }
 
 
-// Fixes an issue where Safari would take embedded presentations
-// fullscreen but keep them at their original width/height style
+// Force the presentation to cover the full viewport when we
+// enter fullscreen mode. Fixes sizing issues in Safari.
 .reveal-viewport:fullscreen {
 .reveal-viewport:fullscreen {
 	top: 0 !important;
 	top: 0 !important;
 	left: 0 !important;
 	left: 0 !important;
 	width: 100% !important;
 	width: 100% !important;
 	height: 100% !important;
 	height: 100% !important;
+	transform: none !important;
 }
 }
 
 
 
 

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/reveal.css


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