diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css index 50c0424aa5f..5727d3c5f70 100644 --- a/src/librustdoc/html/static/rustdoc.css +++ b/src/librustdoc/html/static/rustdoc.css @@ -825,6 +825,7 @@ span.since { position: absolute; left: -1px; margin-top: 7px; + z-index: 1; } .tooltip { @@ -861,3 +862,7 @@ span.since { border-style: solid; border-color: transparent black transparent transparent; } + +pre.rust { + position: relative; +}