File tree Expand file tree Collapse file tree
apps/webapp/app/routes/storybook.agent-ui Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -81,10 +81,9 @@ function Section({
8181 const state = states [ section . sectionId ] ;
8282 return (
8383 < section id = { section . sectionId } className = "w-fit scroll-mt-4 space-y-1.5" >
84- < div className = "flex items-baseline gap-2" >
85- < h3 className = "text-sm font-medium text-text-bright" > { section . title } </ h3 >
86- < code className = "font-mono text-[10px] text-text-faint" > { section . sectionId } </ code >
87- </ div >
84+ { /* The section id stays as the DOM id / deep-link anchor; showing it
85+ overflowed the tile, and `title` says what the state is. */ }
86+ < h3 className = "text-sm font-medium text-text-bright" > { section . title } </ h3 >
8887 < div className = { cn ( WIDE_SECTIONS . has ( section . sectionId ) ? "w-auto" : PANEL ) } >
8988 { state ?? < Missing what = { `section "${ section . sectionId } "` } /> }
9089 </ div >
You can’t perform that action at this time.
0 commit comments