Skip to content

Commit

Permalink
hide header & footer on print
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverlambson committed Aug 25, 2024
1 parent 21d9740 commit 409f8d9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bored-charts/boredcharts/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.10.1"
__version__ = "0.11.0"

from boredcharts.router import FigureRouter
from boredcharts.webapp import boredcharts
Expand Down
4 changes: 4 additions & 0 deletions bored-charts/boredcharts/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@
.prose > * {
page-break-inside: avoid;
}
header,
footer {
display: none;
}
}
/* plotly responsive adjustments */
figure.plotly-container > div {
Expand Down

0 comments on commit 409f8d9

Please sign in to comment.