]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/html/static/css/rustdoc.css
rustdoc: remove unused mobile CSS `.rustdoc { padding-top: 0 }`
[rust.git] / src / librustdoc / html / static / css / rustdoc.css
index 30dc84509246e1af51852cee26c70bf7fb70fc47..a18fff3bb14749931944d5941ba5eaa7eda72536 100644 (file)
@@ -880,8 +880,6 @@ so that we can apply CSS-filters to change the arrow color in themes */
 
 .search-results.active {
        display: block;
-       /* prevent overhanging tabs from moving the first result */
-       clear: both;
 }
 
 .search-results .desc > span {
@@ -1092,7 +1090,7 @@ pre.rust .bool-val {
 pre.rust .self {
        color: var(--code-highlight-self-color);
 }
-pre.rust .attribute {
+pre.rust .attr {
        color: var(--code-highlight-attribute-color);
 }
 pre.rust .macro,
@@ -1679,7 +1677,6 @@ in storage.js
        }
 
        .rustdoc {
-               padding-top: 0px;
                /* Sidebar should overlay main content, rather than pushing main content to the right.
                   Turn off `display: flex` on the body element. */
                display: block;