]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #93183 - jsha:mobile-nav-fixes, r=GuillaumeGomez
authorEric Huss <eric@huss.org>
Sun, 30 Jan 2022 16:37:49 +0000 (08:37 -0800)
committerGitHub <noreply@github.com>
Sun, 30 Jan 2022 16:37:49 +0000 (08:37 -0800)
commit4ddf986d6831a422c45cf8983c0f6a489d0bf52e
tree0c939fc1bd6930b6d697d64754a640a2ffa31c02
parentba013373d8aad473d2b6c6c90bb876cd45f53164
parenta998a374769f80e08fb7e1269b6fcd886ce453cf
Rollup merge of #93183 - jsha:mobile-nav-fixes, r=GuillaumeGomez

rustdoc: mobile nav fixes

- Make sure the mobile-topbar doesn't overflow its height if the user sets a bigger font.

- Make sure the sidebar can be scrolled all the way to the bottom by shortening it to accommodate the mobile-topbar.

- Make the item name in the mobile-topbar clickable to go to the top of the page.

- Remove excess padding sidebar in mobile mode.

Demo https://rustdoc.crud.net/jsha/mobile-nav-fixes/std/string/struct.String.html

r? `@GuillaumeGomez`