diff --git a/src/sw/sw-header.stories.tsx b/src/sw/sw-header.stories.tsx index b40d69b..cb4169b 100644 --- a/src/sw/sw-header.stories.tsx +++ b/src/sw/sw-header.stories.tsx @@ -495,11 +495,15 @@ const documentCallbacks = { onDocumentOpen: () => console.info("[SWHeader] documentOpen"), } -/** Frame with room below the header so the overlay dropdown is not clipped by the story scroller. */ -function MenuFrame({ width, children, fixedDimension = false }: { width: number; children: ReactNode; fixedDimension?: boolean }) { +/** + * Frame with room below the header so the overlay dropdown is not clipped by the story scroller. + * `fluid` (2026-10-22): `width` is a maximum for the scroller that paints the black grid, and the frame fills it, so the + * grid and the header share one width and shrink together on a narrower screen (no grid left beside the header). + */ +function MenuFrame({ width, children, fixedDimension = false, fluid = false }: { width: number; children: ReactNode; fixedDimension?: boolean; fluid?: boolean }) { return ( -