Commit b19f37c
authored
Rollup merge of rust-lang#87167 - GuillaumeGomez:sidebar-display-mobile, r=notriddle
Fix sidebar display on small devices
Part of rust-lang#87059.
Instead of hiding the sidebar on small devices, we instead move it out of the viewport so that it remains "visible" to our text only users.
Could you confirm it works for you `@ahicks92` and `@DataTriny` please? You can give it a try at [this URL](https://guillaume-gomez.fr/rustdoc-test/test_docs/index.html).
r? `@notriddle`File tree
2 files changed
+16
-4
lines changed- src
- librustdoc/html/static/css
- test/rustdoc-gui
2 files changed
+16
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1634 | 1634 | | |
1635 | 1635 | | |
1636 | 1636 | | |
| 1637 | + | |
| 1638 | + | |
1637 | 1639 | | |
1638 | 1640 | | |
1639 | 1641 | | |
1640 | | - | |
1641 | 1642 | | |
1642 | 1643 | | |
| 1644 | + | |
| 1645 | + | |
| 1646 | + | |
1643 | 1647 | | |
1644 | 1648 | | |
1645 | | - | |
1646 | 1649 | | |
1647 | 1650 | | |
1648 | 1651 | | |
| |||
1730 | 1733 | | |
1731 | 1734 | | |
1732 | 1735 | | |
1733 | | - | |
1734 | | - | |
| 1736 | + | |
1735 | 1737 | | |
1736 | 1738 | | |
1737 | 1739 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
0 commit comments