From 0dd329f687f2b3bb229d86f1df3341ea8976e565 Mon Sep 17 00:00:00 2001 From: Michael Howell Date: Wed, 19 Oct 2022 13:57:39 -0700 Subject: [PATCH] rustdoc: remove no-op CSS `nav.sub { font-size: 1rem }` This rule originated as a `font-size: 16px`, when body had `font-size: 13px` set in 4fd061c426902b0904c65e64a3780b21f9ab3afb. It remained even when body's font size was bumped up to 16px, 4d5f4ff5e9297dcad21612f9dd20ae4598b5b7e2, making the rule a no-op, and was carried forward when it was converted to 1rem in cc18120425a5c571a968d850c75cc935a8321136. --- src/librustdoc/html/static/css/rustdoc.css | 1 - 1 file changed, 1 deletion(-) diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index 7b6f52b0acf69..cc36513f47fbc 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -703,7 +703,6 @@ pre, .rustdoc.source .example-wrap { nav.sub { position: relative; - font-size: 1rem; flex-grow: 1; margin-bottom: 25px; }