From 510107815fe888319028c5e96001cdee70e7a931 Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Wed, 30 Jun 2021 04:13:46 +0900 Subject: [PATCH] Fix some style regressions due to normalize.css 8 --- src/librustdoc/html/static/rustdoc.css | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css index 7e7af8bc0d0..89497e7b396 100644 --- a/src/librustdoc/html/static/rustdoc.css +++ b/src/librustdoc/html/static/rustdoc.css @@ -200,10 +200,31 @@ summary { outline: none; } -/* FIXME: Remove after normalize.css is either upgraded or removed (#86629) */ +/* Fix some style changes due to normalize.css 8 */ + +td, +th { + padding: 0; +} + +table { + border-collapse: collapse; +} + +button, +input, +optgroup, +select, +textarea { + color: inherit; + font: inherit; + margin: 0; +} + +/* end tweaks for normalize.css 8 */ + details:not(.rustdoc-toggle) summary { margin-bottom: .6em; - display: list-item; } code, pre, a.test-arrow {