Skip to content

Commit

Permalink
Unify toggle rules on smaller resolutions
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed May 14, 2021
1 parent 0c02338 commit 7eb95cd
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/librustdoc/html/static/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -1687,8 +1687,9 @@ details.undocumented[open] > summary::before {
border-bottom: 1px solid;
}

.item-list > details.rustdoc-toggle > summary:not(.hideme)::before {
left: -10px;
#main > details.rustdoc-toggle > summary::before,
#main > div > details.rustdoc-toggle > summary::before {
left: -11px;
}

#all-types {
Expand Down Expand Up @@ -1781,8 +1782,4 @@ details.undocumented[open] > summary::before {
.docblock {
margin-left: 12px;
}

details.rustdoc-toggle > summary.hideme::before {
left: -11px;
}
}

0 comments on commit 7eb95cd

Please sign in to comment.