diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2021-07-16 19:54:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-16 19:54:08 +0200 |
| commit | 12ed22ffe44d7b06e94c2fe0003ef96a20cf4b98 (patch) | |
| tree | ee4a20ca5494c12810e4851c3d2a4a7f0a161bc3 /src/librustdoc/html/static/css/rustdoc.css | |
| parent | 4fbac2994f35d14a8b82e9f72cd562a7116ae32d (diff) | |
| parent | 0ea2980ae5a87dd224c07d000d68852007b2e5c1 (diff) | |
| download | rust-12ed22ffe44d7b06e94c2fe0003ef96a20cf4b98.tar.gz rust-12ed22ffe44d7b06e94c2fe0003ef96a20cf4b98.zip | |
Rollup merge of #87180 - notriddle:notriddle/sidebar-keyboard-mobile, r=GuillaumeGomez
feat(rustdoc): open sidebar menu when links inside it are focused Fixes #87172 Based on #87167 (which should be merged first) r? ``@GuillaumeGomez`` Preview it at https://notriddle.com/notriddle-rustdoc-test/std/index.html
Diffstat (limited to 'src/librustdoc/html/static/css/rustdoc.css')
| -rw-r--r-- | src/librustdoc/html/static/css/rustdoc.css | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index 89dbc4d825f..b86f012c0e1 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -1732,7 +1732,8 @@ details.undocumented[open] > summary::before { width: calc(100% + 30px); } - .show-it { + .show-it, .sidebar-elems:focus-within { + z-index: 2; left: 0; } |
