Rollup merge of #92440 - GuillaumeGomez:fix-mobile-toggles, r=jsha
Fix mobile toggles position Before:  After:  r? `@jsha`
This commit is contained in:
commit
2da54c729e
3 changed files with 21 additions and 1 deletions
|
|
@ -2007,6 +2007,16 @@ details.rustdoc-toggle[open] > summary.hideme::after {
|
|||
max-width: 100vw;
|
||||
width: 100vw;
|
||||
}
|
||||
|
||||
/* Position of the "[-]" element. */
|
||||
details.rustdoc-toggle:not(.top-doc) > summary {
|
||||
margin-left: 10px;
|
||||
}
|
||||
.impl-items > details.rustdoc-toggle > summary:not(.hideme)::before,
|
||||
#main-content > details.rustdoc-toggle:not(.top-doc) > summary::before,
|
||||
#main-content > div > details.rustdoc-toggle > summary::before {
|
||||
left: -11px;
|
||||
}
|
||||
}
|
||||
|
||||
@media print {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue