From 8c65478c515377d2289b13df500e4a6d61c91c17 Mon Sep 17 00:00:00 2001 From: Michael Howell Date: Thu, 25 Aug 2022 14:27:40 -0700 Subject: [PATCH] rustdoc: remove unused CSS for `.variants_table` Continuation of #100938 and #101010. This rule was added to support the old, table-based style for displaying enum variants, which are now displayed using headers and paragraphs. --- src/librustdoc/html/static/css/rustdoc.css | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index f1cd3defbef6b..0a8ba5119c22d 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -1210,14 +1210,6 @@ so that we can apply CSS-filters to change the arrow color in themes */ float: right; } -.variants_table { - width: 100%; -} - -.variants_table tbody tr td:first-child { - width: 1%; /* make the variant name as small as possible */ -} - td.summary-column { width: 100%; }