about summary refs log tree commit diff
path: root/src/librustdoc/html/static/css
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2022-09-03 15:07:48 -0700
committerMichael Howell <michael@notriddle.com>2022-09-03 15:27:04 -0700
commit3e743a064ec341548f2dfb6dafddc2b3d2d66c7f (patch)
tree81bd0abde222f35bbd87c31733620bfe2423b566 /src/librustdoc/html/static/css
parent84f0c3f79a85329dd79a54694ff8a7f427c842e9 (diff)
downloadrust-3e743a064ec341548f2dfb6dafddc2b3d2d66c7f.tar.gz
rust-3e743a064ec341548f2dfb6dafddc2b3d2d66c7f.zip
rustdoc: remove redundant mobile-sized `.source nav:not(.sidebar).sub`
It's redundant because there's already a selector `.source nav.sub` with
exactly the same margin-left at line 796.

This selector was added in 1e98fb10274ea0245f865ddb1e295e454382000b, along
with an identical desktop selector, but that desktop selector was removed in
6a5f8b1aef1417d7dc85b5d0a229d2db1930eb7c as part of a larger simplification.
Diffstat (limited to 'src/librustdoc/html/static/css')
-rw-r--r--src/librustdoc/html/static/css/rustdoc.css4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css
index 38b6ebd66d3..21b5c13e714 100644
--- a/src/librustdoc/html/static/css/rustdoc.css
+++ b/src/librustdoc/html/static/css/rustdoc.css
@@ -1887,10 +1887,6 @@ in storage.js plus the media query with (min-width: 701px)
 		background-color: var(--sidebar-background-color);
 	}
 
-	.source nav:not(.sidebar).sub {
-		margin-left: 32px;
-	}
-
 	.content {
 		margin-left: 0px;
 	}