Skip to content

Commit

Permalink
Hide header and search bar when printing
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Oct 31, 2024
1 parent 185e4f8 commit b53f3a4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions python_docs_theme/static/pydoctheme.css
Original file line number Diff line number Diff line change
Expand Up @@ -754,3 +754,10 @@ div.deprecated-removed .versionmodified,
div.versionremoved .versionmodified {
color: var(--deprecated);
}

/* Hide header when printing */
@media print {
div.mobile-nav {
display: none;
}
}

0 comments on commit b53f3a4

Please sign in to comment.