diff options
| author | Michael Howell <michael@notriddle.com> | 2022-09-21 20:47:33 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2022-09-21 21:55:08 -0700 |
| commit | 876c7076c8592ac2ca7bc243340646321b224c38 (patch) | |
| tree | e21448d8a5e55131feacb3c98e0d0c473fd3bf3c | |
| parent | 4a4fd12ebfd01d969a719e5c43c2e318441e827b (diff) | |
| download | rust-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.css | 1 |
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; } |
