Skip to content

Commit 938948e

Browse files
authored
Rollup merge of #104462 - notriddle:notriddle/rightside-padding-right, r=GuillaumeGomez
rustdoc: remove pointless CSS `.rightside { padding-right: 2px }` This CSS was added in 34bd2b8, as `.since { padding-right: 2px }`, to prevent it from uncomfortably touching the srclink, which were separate floated elements. It was carried forward with 962c0a4 to the new `.rightside`, but its role was replaced with adding " • " between them. All it does now is pushes the element 2px away from the page's right margin. Removing this rule changes the page layout, but you have to look for it to notice it.
2 parents baf1cbb + 74969ac commit 938948e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/librustdoc/html/static/css/rustdoc.css

-1
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,6 @@ so that we can apply CSS-filters to change the arrow color in themes */
10481048

10491049
.rightside {
10501050
padding-left: 12px;
1051-
padding-right: 2px;
10521051
float: right;
10531052
}
10541053

0 commit comments

Comments
 (0)