Commit 984ea30
[Repo Assist] Use scrollbar-gutter: stable on scroll containers (#1088)
* Use scrollbar-gutter: stable on scroll containers
Add scrollbar-gutter: stable (Baseline 2024) to all vertical-scroll
containers to reserve scrollbar gutter space and prevent layout shifts:
- main: also adds missing overflow-y: auto so long pages are
independently scrollable (html has overflow-y: hidden, so main
must be its own scroll container)
- #fsdocs-main-menu: sidebar no longer reflows content when
the scrollbar appears/disappears
- Mobile .menu dropdown: same benefit
- dialog ul (search results): prevents width shift when results
exceed max-height
Closes #1087
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* ci: trigger checks
* Bump RELEASE_NOTES: promote Unreleased to 22.0.0-alpha.2
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* ci: trigger checks
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Florian Verdonck <florian.verdonck@outlook.com>1 parent 99d95b2 commit 984ea30
2 files changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| 19 | + | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
| 242 | + | |
242 | 243 | | |
243 | 244 | | |
244 | 245 | | |
| |||
310 | 311 | | |
311 | 312 | | |
312 | 313 | | |
| 314 | + | |
| 315 | + | |
313 | 316 | | |
314 | 317 | | |
315 | 318 | | |
| |||
469 | 472 | | |
470 | 473 | | |
471 | 474 | | |
| 475 | + | |
472 | 476 | | |
473 | 477 | | |
474 | 478 | | |
| |||
1269 | 1273 | | |
1270 | 1274 | | |
1271 | 1275 | | |
| 1276 | + | |
1272 | 1277 | | |
1273 | 1278 | | |
1274 | 1279 | | |
| |||
0 commit comments