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
1 changed files with 6 additions and 0 deletions
|
@ -584,3 +584,9 @@ pre.rust { position: relative; }
|
||||||
height: 1.5em;
|
height: 1.5em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media print {
|
||||||
|
nav.sub, .content .out-of-band, .collapse-toggle {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue