rustdoc: clean up redundant CSS on .rustdoc-toggle.hideme

This commit is contained in:
Michael Howell 2022-12-02 14:39:06 -07:00
parent e960b5e774
commit c635cb774b

View File

@ -1590,17 +1590,11 @@ details.rustdoc-toggle[open] > summary.hideme > span {
display: none;
}
details.rustdoc-toggle[open] > summary::before,
details.rustdoc-toggle[open] > summary.hideme::before {
details.rustdoc-toggle[open] > summary::before {
background: url("toggle-minus-31bbd6e4c77f5c96.svg") no-repeat top left;
width: 16px;
height: 16px;
display: inline-block;
content: "";
}
details.rustdoc-toggle[open] > summary::after,
details.rustdoc-toggle[open] > summary.hideme::after {
details.rustdoc-toggle[open] > summary::after {
content: "Collapse";
}