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