From 270d09dca9aae263671c4d32bbc7cb60dc378af8 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Wed, 29 Dec 2021 14:55:49 +0100 Subject: [PATCH] Fix font size for [src] links in headers --- src/librustdoc/html/static/css/rustdoc.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index d82c65398b8..450d5a39602 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -1080,8 +1080,11 @@ body.blur > :not(#help) { .impl-items .srclink, .impl .srclink, .methods .srclink { /* Override header settings otherwise it's too bold */ - font-size: 1.0625rem; font-weight: normal; + font-size: 1rem; +} +.impl .srclink { + font-size: 1.0625rem; } .rightside {