mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-26 06:35:27 +00:00
Auto merge of #64994 - GuillaumeGomez:fix-rustdoc-display-js-disabled, r=Mark-Simulacrum
Fix rustdoc display with js disabled Fixes #64988. Currently, all sections are collapsed when the page is loading, and then is displayed once done. However, if js is disabled, they never get expanded. Therefore, they need to be shown by default. r? @Mark-Simulacrum
This commit is contained in:
commit
2e7244807a
@ -5,3 +5,11 @@
|
||||
.loading-content {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#main > h2 + div, #main > h3 + div {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#main > h2 + h3 {
|
||||
display: flex;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user