Skip to content

Commit df1b9a8

Browse files
committed
rustdoc: On mobile: hide §, adjust [+] position
1 parent bf03dd0 commit df1b9a8

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/librustdoc/html/static/rustdoc.css

+6-2
Original file line numberDiff line numberDiff line change
@@ -908,7 +908,7 @@ span.since {
908908
}
909909

910910
.anchor {
911-
left: -5px;
911+
display: none !important;
912912
}
913913
}
914914

@@ -1051,7 +1051,11 @@ h4 > .important-traits {
10511051
}
10521052

10531053
.collapse-toggle {
1054-
left: -17px;
1054+
left: -20px;
1055+
}
1056+
1057+
.impl > .collapse-toggle {
1058+
left: -10px;
10551059
}
10561060
}
10571061

0 commit comments

Comments
 (0)