Skip to content

Commit

Permalink
Add background color to boxes in rendered report PDFs
Browse files Browse the repository at this point in the history
This uses `box-decoration-break: clone` to make it visually nicer
around page breaks.
  • Loading branch information
chigby authored and nmorduch committed Feb 16, 2024
1 parent da6a8b4 commit 201d3a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions report/templates/report/pdf_style.html
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,9 @@

.block-box{
margin: 35pt 0;
padding: 25pt 0;
border-top: 1pt solid #000;
border-bottom: 1pt solid #000;
padding: 25pt 25pt;
background-color: #f5f5f5;
box-decoration-break: clone;
}

.block-box h5{
Expand Down

0 comments on commit 201d3a9

Please sign in to comment.