diff options
| author | Michael Howell <michael@notriddle.com> | 2022-06-30 17:28:29 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2022-07-05 11:12:18 -0700 |
| commit | 6b60bc64087e130f30e3bc095a3ef9e0c1790fef (patch) | |
| tree | ca86c2f236a54f09a0ba7b69e07bd4db608d5be8 /src/test/codegen/src-hash-algorithm | |
| parent | 54f79babae06d3772c067f696e5b12db822ae25f (diff) | |
| download | rust-6b60bc64087e130f30e3bc095a3ef9e0c1790fef.tar.gz rust-6b60bc64087e130f30e3bc095a3ef9e0c1790fef.zip | |
rustdoc: improve scroll locking in the rustdoc mobile sidebars
This commit ports the scroll locking behavior from the source sidebar to the regular sidebar, and also fixes some bad behavior where opening a "mobile" sidebar, and growing the viewport so that the "desktop" mode without scroll locking is activated, could potentially leave the page stuck. This does not affect the behavior on larger screens. Only small ones, where the sidebar covers up the main content.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
