Skip to content

Give the topic-contents sample's tabs the window's width, so Full view draws the margin map - #4808

Merged
max-sixty merged 1 commit into
mainfrom
list-ui-fixes
Oct 31, 2026
Merged

max-sixty merged 1 commit into
mainfrom
list-ui-fixes

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

The feature gallery's "An index for each topic" sample tells the reader that in Full view on a wide screen each topic's contents sits in the left margin as a reading map. Since #4724 moved sidebars to native CSS it hasn't: the sample's tabs stand inside its page's layout-column, so each tab's layout-sidebar gets about 720px of a 1379px Full view and stacks its aside above the body, leaving the index open in the flow.

data-width="available" on the sample's lf-tabs gives the tabs the window, as page-layout.md says a block asks for more than the column. Probed at 1440×900 in Chromium and Firefox, Full view now stands the aside (240px) beside a 1017px body and draws the map; embedded in the gallery's column, and in a 1000px Full view, the index still starts open below the tabs, as the sample's prose says. The embedded sample's geometry is identical to main's.

This came up while repairing the stills catalogue (#4807), where no example drew the margin map any more.

This was written by Claude Code on behalf of max-sixty

…w draws the margin map

The gallery's "An index for each topic" sample says that in Full view on a
wide screen each topic's contents sits in the left margin as a reading map.
Since #4724 made sidebars native CSS, the sample's tabs stood inside its
page's `layout-column`, so each tab's `layout-sidebar` had about 720px of a
1379px Full view and stacked its aside above the body: the index stayed open
in the flow and no map drew. `data-width="available"` on the tabs gives them
the window, so the aside stands beside the body and the map draws, in
Chromium and Firefox. Embedded in the gallery's column and in a 1000px Full
view the index still starts open below the tabs, as the sample's prose says.
@max-sixty
max-sixty merged commit 4228877 into main Oct 31, 2026
4 checks passed
@max-sixty
max-sixty deleted the list-ui-fixes branch October 31, 2026 04:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants