about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2022-08-26 14:08:49 +0200
committerGitHub <noreply@github.com>2022-08-26 14:08:49 +0200
commit6ada6c5eb055ca30462daf3e3f9f0e14e9c8f478 (patch)
treeb4171246f6932f8a56b6ad1ce509d393ccbf6391
parent7cffb4ca63a71edbf5ecbddef9fc5a3075cf6a1a (diff)
parent8c65478c515377d2289b13df500e4a6d61c91c17 (diff)
downloadrust-6ada6c5eb055ca30462daf3e3f9f0e14e9c8f478.tar.gz
rust-6ada6c5eb055ca30462daf3e3f9f0e14e9c8f478.zip
Rollup merge of #101012 - notriddle:notriddle/variants_table, r=jsha
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.
-rw-r--r--src/librustdoc/html/static/css/rustdoc.css8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css
index f6a7875fddc..38cdcd61e88 100644
--- a/src/librustdoc/html/static/css/rustdoc.css
+++ b/src/librustdoc/html/static/css/rustdoc.css
@@ -1200,14 +1200,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%;
 }