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-28 14:47:56 -0700
committerMichael Howell <michael@notriddle.com>2022-09-28 16:18:12 -0700
commit3f21f07e72eeb8dabdcf76bfda00028d607632d5 (patch)
tree18aad6406ebfa63f9dfb561b664eaa7e7d16583d /src/librustdoc/html/static/css/rustdoc.css
parent307dd938d7937c93dc7a880e81a2383b82f30ad0 (diff)
downloadrust-3f21f07e72eeb8dabdcf76bfda00028d607632d5.tar.gz
rust-3f21f07e72eeb8dabdcf76bfda00028d607632d5.zip
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 0ea6d9c38b6..06d5829317c 100644
--- a/src/librustdoc/html/static/css/rustdoc.css
+++ b/src/librustdoc/html/static/css/rustdoc.css
@@ -187,7 +187,6 @@ h4.code-header {
 .impl-items .associatedtype,
 .methods .associatedtype {
 	flex-basis: 100%;
-	font-weight: 600;
 	position: relative;
 }