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
1 changed files with 8 additions and 0 deletions
|
@ -5,3 +5,11 @@
|
|||
.loading-content {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#main > h2 + div, #main > h3 + div {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#main > h2 + h3 {
|
||||
display: flex;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue