Skip to content

Commit f72697b

Browse files
committed
rustdoc: remove unused CSS selectors for .table-display
This class was added to support the function signature [src] lockup. That lockup was changed in 34bd2b8 to use flexbox instead, leaving these selectors unused.
1 parent 332cc8f commit f72697b

File tree

1 file changed

+2
-35
lines changed

1 file changed

+2
-35
lines changed

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

+2-35
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ pre, .rustdoc.source .example-wrap {
710710
top: inherit;
711711
}
712712

713-
.content table:not(.table-display) {
713+
.content table {
714714
border-spacing: 0 5px;
715715
}
716716
.content td { vertical-align: top; }
@@ -763,15 +763,9 @@ pre, .rustdoc.source .example-wrap {
763763
margin-left: 20px;
764764
margin-top: -34px;
765765
}
766-
.content .docblock >.impl-items .table-display {
767-
margin: 0;
768-
}
769766
.content .docblock >.impl-items table td {
770767
padding: 0;
771768
}
772-
.content .docblock > .impl-items .table-display {
773-
border: none;
774-
}
775769

776770
.item-info {
777771
display: block;
@@ -1563,33 +1557,6 @@ kbd {
15631557
width: 100%;
15641558
}
15651559

1566-
.table-display {
1567-
width: 100%;
1568-
border: 0;
1569-
border-collapse: collapse;
1570-
border-spacing: 0;
1571-
font-size: 1rem;
1572-
}
1573-
1574-
.table-display tr td:first-child {
1575-
padding-right: 0;
1576-
}
1577-
1578-
.table-display tr td:last-child {
1579-
float: right;
1580-
}
1581-
.table-display .out-of-band {
1582-
position: relative;
1583-
font-size: 1.125rem;
1584-
display: block;
1585-
}
1586-
1587-
.table-display td:hover .anchor {
1588-
display: block;
1589-
top: 2px;
1590-
left: -5px;
1591-
}
1592-
15931560
#main-content > ul {
15941561
padding-left: 10px;
15951562
}
@@ -2081,7 +2048,7 @@ in storage.js plus the media query with (min-width: 701px)
20812048
height: 73px;
20822049
}
20832050

2084-
#main-content > table:not(.table-display) td {
2051+
#main-content > table td {
20852052
word-break: break-word;
20862053
width: 50%;
20872054
}

0 commit comments

Comments
 (0)