about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2022-08-26 09:51:47 +0900
committerGitHub <noreply@github.com>2022-08-26 09:51:47 +0900
commitb4d5f48e43f2f7d53ac058877e663229f1407e86 (patch)
tree02bee0b9e1646b872e21cfb4fe750b1dc7b40a8a
parentd4a5ec17a73dd886d3a187659c032d5f9b95f0b9 (diff)
parent45cc8cb3b9cf94e5e9dfa34f2e0ce7cc69f95d9a (diff)
downloadrust-b4d5f48e43f2f7d53ac058877e663229f1407e86.tar.gz
rust-b4d5f48e43f2f7d53ac058877e663229f1407e86.zip
Rollup merge of #101010 - notriddle:notriddle/multi-column, r=jsha
rustdoc: remove unused CSS for `.multi-column`

As a sanity check, [this tool] can be used to run a CSS query across an HTML tree to detect if a selector ever matches (I use compiler-docs and std docs). This isn't good enough, because I also need to account for JavaScript, but this class is never mentioned in any of the JS files, either.

According to [blame], this class was added when rustdoc was first written, and, as far as I can tell, was never actually used.

[this tool]: https://gitlab.com/notriddle/html-scanner
[blame]: https://github.com/rust-lang/rust/blame/4d45b0745ab227feb9000bc15713ade4b99241ea/src/librustdoc/html/static/css/rustdoc.css#L753-L761
-rw-r--r--src/librustdoc/html/static/css/rustdoc.css10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css
index f1cd3defbef..f6a7875fddc 100644
--- a/src/librustdoc/html/static/css/rustdoc.css
+++ b/src/librustdoc/html/static/css/rustdoc.css
@@ -750,16 +750,6 @@ pre, .rustdoc.source .example-wrap {
 	padding: 0;
 }
 
-.content .multi-column {
-	-moz-column-count: 5;
-	-moz-column-gap: 2.5em;
-	-webkit-column-count: 5;
-	-webkit-column-gap: 2.5em;
-	column-count: 5;
-	column-gap: 2.5em;
-}
-.content .multi-column li { width: 100%; display: inline-block; }
-
 .content > .methods > .method {
 	font-size: 1rem;
 	position: relative;