diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-12-27 16:26:44 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-12-29 15:27:58 +0100 |
| commit | 2ab36516f4e6b32ca098addfd5bfe2c657da5765 (patch) | |
| tree | e53b373669ac0d698bcdbaea10c15ae6b81adeab /src/librustdoc/html/static/rustdoc.css | |
| parent | 2acf6ee6d2ab3acf3f4d2117591ac1143c8232fe (diff) | |
| download | rust-2ab36516f4e6b32ca098addfd5bfe2c657da5765.tar.gz rust-2ab36516f4e6b32ca098addfd5bfe2c657da5765.zip | |
Fix search section position on small devices
Diffstat (limited to 'src/librustdoc/html/static/rustdoc.css')
| -rw-r--r-- | src/librustdoc/html/static/rustdoc.css | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css index 42e4fa05152..00045bf23d3 100644 --- a/src/librustdoc/html/static/rustdoc.css +++ b/src/librustdoc/html/static/rustdoc.css @@ -1570,7 +1570,10 @@ h4 > .notable-traits { height: 73px; } - #main { + /* This is to prevent the search bar from being underneath the <section> + * element following it. + */ + #main, #search { margin-top: 100px; } |
