about summary refs log tree commit diff
path: root/src/librustdoc/html/static/css/rustdoc.css
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2022-09-29 10:15:19 -0700
committerGitHub <noreply@github.com>2022-09-29 10:15:19 -0700
commite5fffbeeb45f9167207b687a517420b7823f33e7 (patch)
treedf9ed9a46564ad15d89590e89d0245d202f34224 /src/librustdoc/html/static/css/rustdoc.css
parent565d3a8c89673b64c1d5b66001d3ac8f4e4d275f (diff)
parent3f21f07e72eeb8dabdcf76bfda00028d607632d5 (diff)
downloadrust-e5fffbeeb45f9167207b687a517420b7823f33e7.tar.gz
rust-e5fffbeeb45f9167207b687a517420b7823f33e7.zip
Rollup merge of #102442 - notriddle:notriddle/header-weight, r=GuillaumeGomez
rustdoc: remove bad CSS font-weight on `.impl`, `.method`, etc

This line was added in c494a06064017f307a8d9dc4797e614d2ed99143, because at the time, the headers had these classes on them. Now, the headers are children of the `<section>` with the class on it.

This commit also adds a test case, to make sure the srclink font weight does not regress again.
Diffstat (limited to 'src/librustdoc/html/static/css/rustdoc.css')
-rw-r--r--src/librustdoc/html/static/css/rustdoc.css1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css
index be8af35a7e4..ad9429464ef 100644
--- a/src/librustdoc/html/static/css/rustdoc.css
+++ b/src/librustdoc/html/static/css/rustdoc.css
@@ -194,7 +194,6 @@ h4.code-header {
 .impl-items .associatedtype,
 .methods .associatedtype {
 	flex-basis: 100%;
-	font-weight: 600;
 	position: relative;
 }