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:
commit
dc4fb6b572
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue