Rollup merge of #95129 - GuillaumeGomez:rm-source-sidebar-animation, r=jsha
Remove animation on source sidebar Fixes https://github.com/rust-lang/rust/issues/95043. Didn't upload a demo considering how simple it is to test in a browser. :) r? ``@jsha``
This commit is contained in:
commit
7154fa5193
2 changed files with 0 additions and 8 deletions
|
@ -400,7 +400,6 @@ nav.sub {
|
|||
.source .sidebar > *:not(#sidebar-toggle) {
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transition: opacity 0.5s;
|
||||
}
|
||||
|
||||
.source .sidebar.expanded {
|
||||
|
@ -1677,12 +1676,6 @@ details.rustdoc-toggle[open] > summary.hideme::after {
|
|||
display: none;
|
||||
}
|
||||
|
||||
/* It doesn't render well on mobile because of the layout, so better only have the transition
|
||||
on desktop. */
|
||||
.rustdoc.source .sidebar {
|
||||
transition: width .5s;
|
||||
}
|
||||
|
||||
.source .sidebar.expanded {
|
||||
width: 300px;
|
||||
}
|
||||
|
|
|
@ -3,6 +3,5 @@ goto: file://|DOC_PATH|/test_docs/index.html
|
|||
click: ".srclink"
|
||||
wait-for: "#sidebar-toggle"
|
||||
click: "#sidebar-toggle"
|
||||
wait-for: 500
|
||||
fail: true
|
||||
assert-css: ("#source-sidebar", { "left": "-300px" })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue