Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2470ba0

Browse files
committedSep 11, 2023
fixup! rustdoc: make the resize handle easier to find
1 parent 4e05d8c commit 2470ba0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎tests/rustdoc-gui/sidebar-resize.goml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ set-local-storage: {"rustdoc-hide-sidebar": "false"}
1212

1313
// Now same thing, but for source code
1414
go-to: "file://" + |DOC_PATH| + "/src/test_docs/lib.rs.html"
15-
assert-property: (".sidebar", {"clientWidth": "49"})
15+
assert-property: (".sidebar", {"clientWidth": "46"})
1616
drag-and-drop: ((52, 100), (185, 100))
17-
assert-property: (".sidebar", {"clientWidth": "181"})
17+
assert-property: (".sidebar", {"clientWidth": "151"})
1818
drag-and-drop: ((185, 100), (5, 100))
1919
// instead of hiding the sidebar entirely, this
2020
// will switch to the toggle mode
21-
assert-property: (".sidebar", {"clientWidth": "49"})
21+
assert-property: (".sidebar", {"clientWidth": "46"})

0 commit comments

Comments
 (0)
Please sign in to comment.