about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYuki Okushi <yuki.okushi@huawei.com>2021-06-30 04:13:46 +0900
committerYuki Okushi <yuki.okushi@huawei.com>2021-06-30 04:13:46 +0900
commit510107815fe888319028c5e96001cdee70e7a931 (patch)
tree3b5dcdbe848edaac71f301ba19fc90b4ab4b29c0
parent66430652d15541d470fb977318dae63091d6800d (diff)
downloadrust-510107815fe888319028c5e96001cdee70e7a931.tar.gz
rust-510107815fe888319028c5e96001cdee70e7a931.zip
Fix some style regressions due to normalize.css 8
-rw-r--r--src/librustdoc/html/static/rustdoc.css25
1 files 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 {