Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/flyout.css
Original file line number Diff line number Diff line change
Expand Up @@ -176,3 +176,10 @@ small a {
text-decoration: none;
color: var(--readthedocs-flyout-link-color);
}

/* Hide flyout when printing or generating PDFs */
@media print {
:host {
display: none !important;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

!important shouldn't be needed here. We avoid !important, it's usually the source of precedence errors and it's hard to track down and resolve.

}
}