about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-10-08 14:38:21 +0200
committerGitHub <noreply@github.com>2022-10-08 14:38:21 +0200
commitd81aa7c9fecd8036539f5200f6e08988fddd3e14 (patch)
tree6d5c4bb815a12b90c4e4982bce88b70638837520
parent91b9a92e513fc7d7182e9f8b870c69410af8981d (diff)
parent38743ec07db99319df339123f116f4a8ec50f600 (diff)
downloadrust-d81aa7c9fecd8036539f5200f6e08988fddd3e14.tar.gz
rust-d81aa7c9fecd8036539f5200f6e08988fddd3e14.zip
Rollup merge of #102797 - notriddle:notriddle/rightside-position, r=GuillaumeGomez
rustdoc: remove no-op CSS `.rightside { position: initial }`

This CSS, added in 34bd2b845b3acd84c5a9bddae3ff8081c19ec5e9, overrode CSS that was applied to the `.since` class:

https://github.com/rust-lang/rust/blob/34bd2b845b3acd84c5a9bddae3ff8081c19ec5e9/src/librustdoc/html/static/rustdoc.css#L782-L795

The absolute positioning for `.since` was abandoned in favor of always floating it, so this is no longer needed:

https://github.com/rust-lang/rust/commit/5de1391b88007a1d4f7b1517657a86aae352af1e#diff-7dc22a0530802d77c2f2ec9e834024a5657b6eab4055520fca46edc99a544413L902-L904
-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 e29abbec69c..61610aed1f4 100644
--- a/src/librustdoc/html/static/css/rustdoc.css
+++ b/src/librustdoc/html/static/css/rustdoc.css
@@ -1093,7 +1093,6 @@ so that we can apply CSS-filters to change the arrow color in themes */
 .rightside {
 	padding-left: 12px;
 	padding-right: 2px;
-	position: initial;
 	float: right;
 }