Rollup merge of #102319 - notriddle:notriddle/td-th, r=GuillaumeGomez

rustdoc: merge CSS `table` rules into `.docblock`

This was added in 510107815f, to fix the display of the module items and search results tables (see the discussion in https://github.com/rust-lang/rust/pull/86725).

Those aren't tables any more. The only remaining table is in docblock, which has its own padding declarations.
This commit is contained in:
Michael Howell 2022-09-26 15:40:53 -07:00 committed by GitHub
commit dc4fb6b572
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -299,15 +299,6 @@ summary {
/* Fix some style changes due to normalize.css 8 */
td,
th {
padding: 0;
}
table {
border-collapse: collapse;
}
button,
input,
optgroup,
@ -695,6 +686,7 @@ pre, .rustdoc.source .example-wrap {
width: calc(100% - 2px);
overflow-x: auto;
display: block;
border-collapse: collapse;
}
.docblock table td {