Browse Source

Print CSS to fix printing problems

No more sidebar filling half of the printed pages, or unnecessary blank pages.
Mohammed El-Dahash 8 years ago
parent
commit
561c22d401
1 changed files with 19 additions and 0 deletions
  1. 19
    0
      static/css/print.css

+ 19
- 0
static/css/print.css View File

@@ -0,0 +1,19 @@
1
+.sidebar {
2
+  display: none !important;
3
+}
4
+
5
+.content {
6
+  margin: 0 auto;
7
+  width: 100%;
8
+  float: none;
9
+  display: initial;
10
+}
11
+
12
+.container {
13
+  width: 100%;
14
+  float: none;
15
+  display: initial;
16
+  padding-left:  1rem;
17
+  padding-right: 1rem;
18
+  margin: 0 auto;
19
+}