We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs.rs and rustdoc aren't playing nicely together as we can see here (it's pretty much broken):
To fix this, we should modify the selector from body > .sidebar to .rustdoc > .sidebar.
body > .sidebar
.rustdoc > .sidebar
rust/src/librustdoc/html/static/rustdoc.css
Lines 959 to 967 in 775eab5
After:
By futher modifying docs.rs's css with something like:
@media (max-width: 700px) { div.rustdoc { padding-top: 0; } div.rustdoc .sidebar { padding-top: 0 !important; } #sidebar-filler { display: none; } }
Final:
The text was updated successfully, but these errors were encountered:
Rollup merge of rust-lang#55926 - cynecx:fix-rustdoc-mobile-css, r=Gu…
e678f54
…illaumeGomez Change sidebar selector to fix compatibility with docs.rs Fix for rust-lang#55883.
12556a4
No branches or pull requests
docs.rs and rustdoc aren't playing nicely together as we can see here (it's pretty much broken):
To fix this, we should modify the selector from
body > .sidebar
to.rustdoc > .sidebar
.rust/src/librustdoc/html/static/rustdoc.css
Lines 959 to 967 in 775eab5
After:
By futher modifying docs.rs's css with something like:
Final:
The text was updated successfully, but these errors were encountered: