about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-09-30 19:06:06 +0200
committerGitHub <noreply@github.com>2022-09-30 19:06:06 +0200
commit5dd4584d2e9c7f031f209b619984cc6f5b285fa9 (patch)
tree5b5cca808f4421342d6fa9b359acf32f9dcd0226
parent9f0865bead9382a43cf38c5a626b062e57a66300 (diff)
parent19b297c6e1f9dab67d6a6b40c379301ccd462f31 (diff)
downloadrust-5dd4584d2e9c7f031f209b619984cc6f5b285fa9.tar.gz
rust-5dd4584d2e9c7f031f209b619984cc6f5b285fa9.zip
Rollup merge of #102505 - notriddle:sub-variant-h4, r=GuillaumeGomez
rustdoc: remove no-op CSS `h3.variant, .sub-variant h4 { border-bottom: none }`

This rule, added in 69df43b041f76251391f11264c1ff763ca2a64a0 to override the default `h4` style, has been obsoleted when a65c98fefb78cddee955b87214732b0de30a769f changed it so that only the top docblock put `border-bottom` on `h4.`
-rw-r--r--src/librustdoc/html/static/css/rustdoc.css2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css
index eb5271aaf7e..9e991cc03a0 100644
--- a/src/librustdoc/html/static/css/rustdoc.css
+++ b/src/librustdoc/html/static/css/rustdoc.css
@@ -1245,13 +1245,11 @@ h3.variant {
 	font-weight: 600;
 	font-size: 1.125rem;
 	margin-bottom: 10px;
-	border-bottom: none;
 }
 
 .sub-variant h4 {
 	font-size: 1rem;
 	font-weight: 400;
-	border-bottom: none;
 	margin-top: 0;
 	margin-bottom: 0;
 }