Skip to content

Commit

Permalink
Rollup merge of #102797 - notriddle:notriddle/rightside-position, r=G…
Browse files Browse the repository at this point in the history
…uillaumeGomez

rustdoc: remove no-op CSS `.rightside { position: initial }`

This CSS, added in 34bd2b8, 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:

5de1391#diff-7dc22a0530802d77c2f2ec9e834024a5657b6eab4055520fca46edc99a544413L902-L904
  • Loading branch information
matthiaskrgr authored Oct 8, 2022
2 parents 91b9a92 + 38743ec commit d81aa7c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit d81aa7c

Please sign in to comment.