Browse Source

Fix Chrome page break problem

Fixes the first part of #40
Peter Fern 9 years ago
parent
commit
859a23a703
1 changed files with 5 additions and 6 deletions
  1. 5
    6
      generator/css/output.css

+ 5
- 6
generator/css/output.css View File

@@ -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…
Cancel
Save