]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/html/static/css/rustdoc.css
rustdoc: clean up DOM by removing `.dockblock-short p`
[rust.git] / src / librustdoc / html / static / css / rustdoc.css
index 31fced21ce8333404edc5ac25b01ccc59ff6d1b4..14f27eb6fa8a49c1b009368da14cc5e84bc4d54f 100644 (file)
@@ -206,7 +206,6 @@ a.source,
 .item-left > a,
 .out-of-band,
 span.since,
-#source-sidebar, #sidebar-toggle,
 details.rustdoc-toggle > summary::before,
 .content ul.crate a.crate,
 a.srclink,
@@ -610,16 +609,12 @@ h2.location a {
 .docblock-short {
        overflow-wrap: break-word;
        overflow-wrap: anywhere;
-}
-.docblock-short p {
-       display: inline;
        overflow: hidden;
        text-overflow: ellipsis;
-       margin: 0;
 }
 /* Wrap non-pre code blocks (`text`) but not (```text```). */
 .docblock > :not(pre) > code,
-.docblock-short > :not(pre) > code {
+.docblock-short > code {
        white-space: pre-wrap;
 }
 
@@ -1891,11 +1886,6 @@ in storage.js plus the media query with (min-width: 701px)
                margin-top: 10px;
        }
 
-       #search {
-               margin-left: 0;
-               padding: 0;
-       }
-
        .anchor {
                display: none !important;
        }