Skip to content

Commit 6ab34f4

Browse files
committed
rustdoc: clean up button-hiding mobile CSS
1 parent 367ecff commit 6ab34f4

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

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

+2-6
Original file line numberDiff line numberDiff line change
@@ -1660,10 +1660,6 @@ in storage.js
16601660
content: "Since ";
16611661
}
16621662

1663-
#copy-path {
1664-
display: none;
1665-
}
1666-
16671663
/* Hide the logo and item name from the sidebar. Those are displayed
16681664
in the mobile-topbar instead. */
16691665
.sidebar .sidebar-logo,
@@ -1797,8 +1793,8 @@ in storage.js
17971793
border-bottom: 1px solid;
17981794
}
17991795

1800-
/* We don't display the help button on mobile devices. */
1801-
#help-button {
1796+
/* We don't display these buttons on mobile devices. */
1797+
#copy-path, #help-button {
18021798
display: none;
18031799
}
18041800

0 commit comments

Comments
 (0)