Skip to content

Commit

Permalink
Print CSS to fix printing problems
Browse files Browse the repository at this point in the history
No more sidebar filling half of the printed pages, or unnecessary blank pages.
  • Loading branch information
BinaryDahash authored and digitalcraftsman committed Jul 25, 2017
1 parent b155b33 commit 561c22d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions static/css/print.css
Original file line number Diff line number Diff line change
@@ -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;
}

0 comments on commit 561c22d

Please sign in to comment.