]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/html/static/rustdoc.css
Auto merge of #80790 - JohnTitor:rollup-js1noez, r=JohnTitor
[rust.git] / src / librustdoc / html / static / rustdoc.css
index 62b08e519bf5ced361751f68f4cdf31040ae4b67..8dad26dced9561800b5b5318a183d703a941ed2b 100644 (file)
@@ -1412,6 +1412,7 @@ h4 > .notable-traits {
        .sidebar > .block.version {
                border-bottom: none;
                margin-top: 12px;
+               margin-bottom: 0;
        }
 
        nav.sub {
@@ -1582,7 +1583,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;
        }