Skip to content

Commit

Permalink
Avoid unnecessary page break before large blockquote (#8181)
Browse files Browse the repository at this point in the history
When printing a message with a large <blockquote> (e.g. a reply to a long thread), Firefox tries to avoid breaking the page within the blockquote so may add a page break before it, causing the unquoted part of the message to appear on a mostly-blank page.
  • Loading branch information
mas90 authored Aug 28, 2021
1 parent e2187b8 commit 67c822c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions skins/elastic/styles/print.less
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ body {
padding-left: .1rem;
}

blockquote {
page-break-inside: auto;
}

// Overwrites for contact printouts

.formcontent {
Expand Down

0 comments on commit 67c822c

Please sign in to comment.