diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index f5b0d15d733..577cc3ed694 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -694,16 +694,13 @@ pre, .rustdoc.source .example-wrap { .item-info { display: block; -} - -.content .item-info code { - font-size: 0.875rem; -} - -.content .item-info { margin-left: 24px; } +.item-info code { + font-size: 0.875rem; +} + #main-content > .item-info { margin-top: 0; margin-left: 0; @@ -1948,7 +1945,7 @@ in storage.js plus the media query with (min-width: 701px) } /* Align summary-nested and unnested item-info gizmos. */ - .content .impl-items > .item-info { + .impl-items > .item-info { margin-left: 34px; } }