Skip to content

Commit b4d5f48

Browse files
authored
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
2 parents d4a5ec1 + 45cc8cb commit b4d5f48

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

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

-10
Original file line numberDiff line numberDiff line change
@@ -750,16 +750,6 @@ pre, .rustdoc.source .example-wrap {
750750
padding: 0;
751751
}
752752

753-
.content .multi-column {
754-
-moz-column-count: 5;
755-
-moz-column-gap: 2.5em;
756-
-webkit-column-count: 5;
757-
-webkit-column-gap: 2.5em;
758-
column-count: 5;
759-
column-gap: 2.5em;
760-
}
761-
.content .multi-column li { width: 100%; display: inline-block; }
762-
763753
.content > .methods > .method {
764754
font-size: 1rem;
765755
position: relative;

0 commit comments

Comments
 (0)