浏览代码

fix(PDF Export): Mark as important `width`, `height` and add `zoom` properties to fix CSS rules which were overrided by inline styles

Dhyego Fernando 9 年之前
父节点
当前提交
587d16ceef
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      css/print/pdf.css

+ 3 - 3
css/print/pdf.css

@@ -60,8 +60,9 @@ ul, ol, div, p {
 }
 .reveal .slides {
 	position: static;
-	width: 100%;
-	height: auto;
+	width: 100% !important;
+	height: auto !important;
+	zoom: 1 !important;
 
 	left: auto;
 	top: auto;
@@ -157,4 +158,3 @@ ul, ol, div, p {
 	position: absolute;
 	font-size: 14px;
 }
-