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
1 changed files with 1 additions and 9 deletions
|
@ -299,15 +299,6 @@ summary {
|
||||||
|
|
||||||
/* Fix some style changes due to normalize.css 8 */
|
/* Fix some style changes due to normalize.css 8 */
|
||||||
|
|
||||||
td,
|
|
||||||
th {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
table {
|
|
||||||
border-collapse: collapse;
|
|
||||||
}
|
|
||||||
|
|
||||||
button,
|
button,
|
||||||
input,
|
input,
|
||||||
optgroup,
|
optgroup,
|
||||||
|
@ -695,6 +686,7 @@ pre, .rustdoc.source .example-wrap {
|
||||||
width: calc(100% - 2px);
|
width: calc(100% - 2px);
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
display: block;
|
display: block;
|
||||||
|
border-collapse: collapse;
|
||||||
}
|
}
|
||||||
|
|
||||||
.docblock table td {
|
.docblock table td {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue