Skip to content

Commit 9990444

Browse files
committed
rustdoc: merge table { border-collapse } into .docblock table`
This was added in 5101078, to fix the display of the module items and search results tables (see the discussion in #86725). Those aren't tables any more. The only remaining table is in docblock, which needs this attribute to look right.
1 parent 1fe3ce4 commit 9990444

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/librustdoc/html/static/css/rustdoc.css

+1-4
Original file line numberDiff line numberDiff line change
@@ -299,10 +299,6 @@ summary {
299299

300300
/* Fix some style changes due to normalize.css 8 */
301301

302-
table {
303-
border-collapse: collapse;
304-
}
305-
306302
button,
307303
input,
308304
optgroup,
@@ -690,6 +686,7 @@ pre, .rustdoc.source .example-wrap {
690686
width: calc(100% - 2px);
691687
overflow-x: auto;
692688
display: block;
689+
border-collapse: collapse;
693690
}
694691

695692
.docblock table td {

0 commit comments

Comments
 (0)