diff options
| author | Michael Howell <michael@notriddle.com> | 2022-10-20 13:22:36 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2022-10-20 13:31:06 -0700 |
| commit | f6dd4708cf37689863c867889ab6f9c512825f4d (patch) | |
| tree | d44d4ed86e8612f869c854b3a12aaa9ee456c927 /src/librustdoc/html/static/css/noscript.css | |
| parent | 542febd2d383b5082277c7d165b098c0a3b513f6 (diff) | |
| download | rust-f6dd4708cf37689863c867889ab6f9c512825f4d.tar.gz rust-f6dd4708cf37689863c867889ab6f9c512825f4d.zip | |
rustdoc: improve appearance of source page navigation bar
This commit changes things so that the search bar is exactly centered between the top of the page and the top of the source code content area.
Diffstat (limited to 'src/librustdoc/html/static/css/noscript.css')
| -rw-r--r-- | src/librustdoc/html/static/css/noscript.css | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/static/css/noscript.css b/src/librustdoc/html/static/css/noscript.css index 0a19a99abf0..63b35f5d0df 100644 --- a/src/librustdoc/html/static/css/noscript.css +++ b/src/librustdoc/html/static/css/noscript.css @@ -14,7 +14,7 @@ rules. display: none; } -.sub { +nav.sub { /* The search bar and related controls don't work without JS */ display: none; } |
