Fix toggle position on mobile
This commit is contained in:
parent
69b352ef77
commit
766de3a5e2
1 changed files with 8 additions and 1 deletions
|
|
@ -1586,6 +1586,10 @@ h4 > .notable-traits {
|
|||
.docblock {
|
||||
margin-left: 12px;
|
||||
}
|
||||
|
||||
details.rustdoc-toggle > summary.hideme::before {
|
||||
left: -11px;
|
||||
}
|
||||
}
|
||||
|
||||
h3.notable {
|
||||
|
|
@ -1697,6 +1701,9 @@ details.rustdoc-toggle > summary.hideme {
|
|||
cursor: pointer;
|
||||
}
|
||||
|
||||
details.rustdoc-toggle > summary, details.undocumented > summary {
|
||||
list-style: none;
|
||||
}
|
||||
details.rustdoc-toggle > summary::-webkit-details-marker,
|
||||
details.rustdoc-toggle > summary::marker,
|
||||
details.undocumented > summary::-webkit-details-marker,
|
||||
|
|
@ -1763,7 +1770,7 @@ details.rustdoc-toggle[open] > summary.hideme > span {
|
|||
}
|
||||
|
||||
details.rustdoc-toggle[open] > summary::before {
|
||||
content: "[−]";
|
||||
content: "[-]";
|
||||
display: inline;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue