Print CSS to fix printing problems
No more sidebar filling half of the printed pages, or unnecessary blank pages.
This commit is contained in:
parent
b155b334bd
commit
561c22d401
1 changed files with 19 additions and 0 deletions
19
static/css/print.css
Normal file
19
static/css/print.css
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
.sidebar {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
margin: 0 auto;
|
||||||
|
width: 100%;
|
||||||
|
float: none;
|
||||||
|
display: initial;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container {
|
||||||
|
width: 100%;
|
||||||
|
float: none;
|
||||||
|
display: initial;
|
||||||
|
padding-left: 1rem;
|
||||||
|
padding-right: 1rem;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
Loading…
Reference in a new issue