Skip to content

Commit

Permalink
Merge pull request #2512 from nagledb/fix-print-scroll-past-end
Browse files Browse the repository at this point in the history
Prevent empty printed page with scroll-past-end
  • Loading branch information
Rokt33r authored Oct 23, 2018
2 parents 7e9fb6b + 73d1bdf commit 70da43e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions browser/components/MarkdownPreview.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ body {
font-size: ${fontSize}px;
${scrollPastEnd && 'padding-bottom: 90vh;'}
}
@media print {
body {
padding-bottom: initial;
}
}
code {
font-family: '${codeBlockFontFamily.join("','")}';
background-color: rgba(0,0,0,0.04);
Expand Down

0 comments on commit 70da43e

Please sign in to comment.