Skip to content

Commit

Permalink
Add print styles to remove borders and padding
Browse files Browse the repository at this point in the history
Fixes #239 without adding option
  • Loading branch information
davestewart committed Nov 28, 2018
1 parent 0dcad76 commit 41fdcdb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions grip/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,18 @@
.discussion-timeline.wide {
width: 920px;
}
/* Print styles */
@media print {
.preview-page,
.markdown-body.entry-content {
margin: 0;
border: 0;
padding: 0;
}
.repository-content > div > h3 {
display: none;
}
}
</style>
{%- endblock -%}

Expand Down

0 comments on commit 41fdcdb

Please sign in to comment.