diff options
| author | Yuki Okushi <yuki.okushi@huawei.com> | 2021-06-30 04:13:46 +0900 |
|---|---|---|
| committer | Yuki Okushi <yuki.okushi@huawei.com> | 2021-06-30 04:13:46 +0900 |
| commit | 510107815fe888319028c5e96001cdee70e7a931 (patch) | |
| tree | 3b5dcdbe848edaac71f301ba19fc90b4ab4b29c0 | |
| parent | 66430652d15541d470fb977318dae63091d6800d (diff) | |
| download | rust-510107815fe888319028c5e96001cdee70e7a931.tar.gz rust-510107815fe888319028c5e96001cdee70e7a931.zip | |
Fix some style regressions due to normalize.css 8
| -rw-r--r-- | src/librustdoc/html/static/rustdoc.css | 25 |
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 { |
