소스 검색

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

Loading…
취소
저장