Skip to content

Commit 903b1fc

Browse files
author
Jakub Bukaj
committed
roll-up merge of #18964: coyotebush/rustdoc-print
2 parents f889950 + ccbda28 commit 903b1fc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/librustdoc/html/static/main.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -584,3 +584,9 @@ pre.rust { position: relative; }
584584
height: 1.5em;
585585
}
586586
}
587+
588+
@media print {
589+
nav.sub, .content .out-of-band, .collapse-toggle {
590+
display: none;
591+
}
592+
}

0 commit comments

Comments
 (0)