Hide interactive elements when printing rustdoc
Hide the search form and expand/collapse buttons, since they aren't useful when printed.
This commit is contained in:
parent
1bf0649544
commit
ccbda288d2
@ -584,3 +584,9 @@ pre.rust { position: relative; }
|
||||
height: 1.5em;
|
||||
}
|
||||
}
|
||||
|
||||
@media print {
|
||||
nav.sub, .content .out-of-band, .collapse-toggle {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user