about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2021-05-14 19:58:21 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2021-05-14 22:25:50 +0200
commit7eb95cd8e4a75598be54b24869541380e536ca55 (patch)
treef86966b764caa8d4cfbd4799a0a74a149c78909c
parent0c02338a6034e10e7b0566b97beee3b7bd6e25d6 (diff)
downloadrust-7eb95cd8e4a75598be54b24869541380e536ca55.tar.gz
rust-7eb95cd8e4a75598be54b24869541380e536ca55.zip
Unify toggle rules on smaller resolutions
-rw-r--r--src/librustdoc/html/static/rustdoc.css9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css
index 405167dfd4a..4c8918ddb8c 100644
--- a/src/librustdoc/html/static/rustdoc.css
+++ b/src/librustdoc/html/static/rustdoc.css
@@ -1687,8 +1687,9 @@ details.undocumented[open] > summary::before {
 		border-bottom: 1px solid;
 	}
 
-	.item-list > details.rustdoc-toggle > summary:not(.hideme)::before {
-		left: -10px;
+	#main > details.rustdoc-toggle > summary::before,
+	#main > div > details.rustdoc-toggle > summary::before {
+		left: -11px;
 	}
 
 	#all-types {
@@ -1781,8 +1782,4 @@ details.undocumented[open] > summary::before {
 	.docblock {
 		margin-left: 12px;
 	}
-
-	details.rustdoc-toggle > summary.hideme::before {
-		left: -11px;
-	}
 }