about summary refs log tree commit diff
path: root/src/librustdoc/html/static
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2022-12-01 13:44:28 -0700
committerMichael Howell <michael@notriddle.com>2022-12-01 13:44:28 -0700
commit6ab34f49f04068310407c641a9e70cb9aa9f311d (patch)
tree658c5705ec3b24616c0e4c768c09dd84edcfdc56 /src/librustdoc/html/static
parent367ecffe5297260f11e71881125a5589c8cb5350 (diff)
downloadrust-6ab34f49f04068310407c641a9e70cb9aa9f311d.tar.gz
rust-6ab34f49f04068310407c641a9e70cb9aa9f311d.zip
rustdoc: clean up button-hiding mobile CSS
Diffstat (limited to 'src/librustdoc/html/static')
-rw-r--r--src/librustdoc/html/static/css/rustdoc.css8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css
index 02a51312e8f..a65f7258ee6 100644
--- a/src/librustdoc/html/static/css/rustdoc.css
+++ b/src/librustdoc/html/static/css/rustdoc.css
@@ -1660,10 +1660,6 @@ in storage.js
 		content: "Since ";
 	}
 
-	#copy-path {
-		display: none;
-	}
-
 	/* Hide the logo and item name from the sidebar. Those are displayed
 	   in the mobile-topbar instead. */
 	.sidebar .sidebar-logo,
@@ -1797,8 +1793,8 @@ in storage.js
 		border-bottom: 1px solid;
 	}
 
-	/* We don't display the help button on mobile devices. */
-	#help-button {
+	/* We don't display these buttons on mobile devices. */
+	#copy-path, #help-button {
 		display: none;
 	}