rustdoc: clean up source sidebar hide button
This is a redesign of the feature, with parts pulled from https://github.com/rust-lang/rust/pull/119049 but with a button that looks more like a button and matches the one used on other sidebar pages.
This commit is contained in:
parent
43dcc9b786
commit
859bbc5def
10 changed files with 92 additions and 196 deletions
|
@ -97,7 +97,7 @@ assert-document-property: ({"URL": "/lib.rs.html"}, ENDS_WITH)
|
|||
// Checking the source code sidebar.
|
||||
|
||||
// First we "open" it.
|
||||
click: "#src-sidebar-toggle"
|
||||
click: "#sidebar-button"
|
||||
assert: ".src-sidebar-expanded"
|
||||
|
||||
// We check that the first entry of the sidebar is collapsed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue