From 876c7076c8592ac2ca7bc243340646321b224c38 Mon Sep 17 00:00:00 2001 From: Michael Howell Date: Wed, 21 Sep 2022 20:47:33 -0700 Subject: [PATCH] rustdoc: remove no-op CSS `.content .item-info { position: relative }` This rule was added to help position the marker line in 110e7270ab7b0700ce714b8b1c7e509195dea2c4, which was a `position: absolute` pseudo-element that relied on its parent to put it in the right spot. The arrow was removed in 73d0f7c7b68784f1db0a1f53855c20d118a7e8b0, so the `relative` position is no longer necessary. --- src/librustdoc/html/static/css/rustdoc.css | 1 - 1 file changed, 1 deletion(-) diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index e985e6c43ade9..a442c09bfb7c3 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -749,7 +749,6 @@ pre, .rustdoc.source .example-wrap { } .content .item-info { - position: relative; margin-left: 24px; }