diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustdoc/html/static/noscript.css | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/noscript.css b/src/librustdoc/html/static/noscript.css index ffa1a7639ab..c9fed989ec0 100644 --- a/src/librustdoc/html/static/noscript.css +++ b/src/librustdoc/html/static/noscript.css @@ -23,3 +23,13 @@ rules. #main .impl-items .hidden { display: block !important; } + +#main .impl-items h4.hidden { + /* Without this rule, the version and the "[src]" span aren't on the same line as the header. */ + display: flex !important; +} + +#main .attributes { + /* Since there is no toggle (the "[-]") when JS is disabled, no need for this margin either. */ + margin-left: 0 !important; +} |
