about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2022-09-21 20:47:33 -0700
committerMichael Howell <michael@notriddle.com>2022-09-21 21:55:08 -0700
commit876c7076c8592ac2ca7bc243340646321b224c38 (patch)
treee21448d8a5e55131feacb3c98e0d0c473fd3bf3c
parent4a4fd12ebfd01d969a719e5c43c2e318441e827b (diff)
downloadrust-876c7076c8592ac2ca7bc243340646321b224c38.tar.gz
rust-876c7076c8592ac2ca7bc243340646321b224c38.zip
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.
-rw-r--r--src/librustdoc/html/static/css/rustdoc.css1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css
index e985e6c43ad..a442c09bfb7 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;
 }