Commit 0ebde88
committed
fix(site): give the Config Builder the sidebar back
It used `template: splash`, which is Starlight's no-sidebar layout — so the
one page a first-timer is sent to from Start Here was also the only page in
the site with no way to navigate onward.
Dropping splash needs two things with it. Starlight's default content column
is 45rem, sized for prose, which would have collapsed the wizard's form and
YAML preview into a single column on every screen; ConfigWizard.astro widens
it to 82rem. And the page has no headings, so the table of contents would
have rendered empty — disabled in frontmatter.
The width override is a `:root` rule inside the component's style block.
Astro leaves `:root` unscoped, and code-splits the CSS per page, so it lands
only on the one page that renders the component — verified: the rule ships in
config-builder.*.css and no other page loads that file.
Verified in the built site: sidebar renders with Config Builder active, and
the wizard keeps its two 588px columns.
Claude-Session: https://claude.ai/code/session_01RgSnMCa3JQigphGnPbazdw1 parent 7c4f685 commit 0ebde88
7 files changed
Lines changed: 15 additions & 1 deletion
File tree
- docs/images
- site/src
- components
- content/docs
Loading
Loading
Loading
Loading
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
102 | 113 | | |
103 | 114 | | |
104 | 115 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
| |||
0 commit comments