Skip to content

Commit 74969ac

Browse files
committed
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 was a separate floated element. 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.
1 parent 6d651a2 commit 74969ac

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
@@ -1051,7 +1051,6 @@ so that we can apply CSS-filters to change the arrow color in themes */
10511051

10521052
.rightside {
10531053
padding-left: 12px;
1054-
padding-right: 2px;
10551054
float: right;
10561055
}
10571056

0 commit comments

Comments
 (0)