Commit 459ade2
fix(docs-toolkit): restore sidebar scrolling in preview:html output
FR-2768 made .doc-sidebar a fixed-height, overflow:hidden flex column
and delegated scrolling to an inner .doc-sidebar__scroll element in
styles-web.ts. website-builder.ts (build:web / serve:web) emits that
wrapper, but the legacy single-page preview builder (html-builder-web.ts,
used by preview:html / preview:html:ko) was never updated, so the nav
overflowed a clipped container with no scrollport and the sidebar could
not scroll.
Wrap the nav list in .doc-sidebar__scroll to mirror website-builder.ts,
restoring sidebar scrolling in the HTML preview server.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 3dfd501 commit 459ade2
1 file changed
Lines changed: 12 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
47 | 54 | | |
48 | 55 | | |
49 | 56 | | |
50 | 57 | | |
51 | 58 | | |
52 | 59 | | |
53 | | - | |
54 | | - | |
55 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
56 | 65 | | |
57 | 66 | | |
58 | 67 | | |
| |||
0 commit comments