Skip to content

Commit aea9a4b

Browse files
committed
Remove bottom margin from crate version when the sidebar is collapsed.
This fixes a mobile UI bug where a vertical scrollbar would always be rendered on the sidebar nav when the menu was closed.
1 parent c7d6c3d commit aea9a4b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustdoc/html/static/rustdoc.css

+1
Original file line numberDiff line numberDiff line change
@@ -1412,6 +1412,7 @@ h4 > .notable-traits {
14121412
.sidebar > .block.version {
14131413
border-bottom: none;
14141414
margin-top: 12px;
1415+
margin-bottom: 0;
14151416
}
14161417

14171418
nav.sub {

0 commit comments

Comments
 (0)