瀏覽代碼

Merge pull request #41 from pdf/chrome-pagebreak

Fix Chrome page break problem
Robert Autenrieth 9 年之前
父節點
當前提交
307eb53f7c
共有 1 個文件被更改,包括 5 次插入6 次删除
  1. 5
    6
      generator/css/output.css

+ 5
- 6
generator/css/output.css 查看文件

3
 }
3
 }
4
 
4
 
5
 body {
5
 body {
6
-    display: flex;
7
-    justify-content:center;
8
-    align-content:center;
6
+  margin: 0;
7
+  padding: 0;
9
 }
8
 }
10
 
9
 
11
 .page-preview {
10
 .page-preview {
20
     margin: 0;
19
     margin: 0;
21
     padding: 0;
20
     padding: 0;
22
     border: 0;
21
     border: 0;
23
-    box-shadow: 0;
22
+    box-shadow: none;
24
     background-color: white;
23
     background-color: white;
25
   }
24
   }
26
   .page-background {
25
   .page-background {
27
     margin: 0;
26
     margin: 0;
28
     padding: 0;
27
     padding: 0;
29
     border: 0;
28
     border: 0;
30
-    box-shadow: 0;
29
+    box-shadow: none;
31
     /* Set the background to gray to visualize the page size in the print preview */
30
     /* Set the background to gray to visualize the page size in the print preview */
32
     background-color: gray;
31
     background-color: gray;
33
   }
32
   }
34
-}
33
+}

Loading…
取消
儲存