File tree Expand file tree Collapse file tree
apps/web/src/components/thread-workspace Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ import { DiffWorkerPoolProvider } from "../DiffWorkerPoolProvider";
2525import { Button } from "../ui/button" ;
2626import {
2727 Menu ,
28+ MenuGroup ,
2829 MenuGroupLabel ,
2930 MenuPopup ,
3031 MenuRadioGroup ,
@@ -95,21 +96,23 @@ function ThreadLayoutMenu({ layout }: { readonly layout: ThreadWorkspaceLayout }
9596 < TooltipPopup side = "bottom" > Configure thread layout</ TooltipPopup >
9697 </ Tooltip >
9798 < MenuPopup align = "end" side = "bottom" sideOffset = { 6 } className = "min-w-44" >
98- < MenuGroupLabel > Thread layout</ MenuGroupLabel >
99- < MenuSeparator />
100- < MenuRadioGroup
101- value = { layout }
102- onValueChange = { ( value ) => setLayout ( value as ThreadWorkspaceLayout ) }
103- >
104- { LAYOUT_OPTIONS . map ( ( option ) => (
105- < MenuRadioItem key = { option . value } value = { option . value } closeOnClick >
106- < span className = "flex items-center gap-2" >
107- < LayoutPreview columns = { option . columns } rows = { option . rows } />
108- { option . label }
109- </ span >
110- </ MenuRadioItem >
111- ) ) }
112- </ MenuRadioGroup >
99+ < MenuGroup >
100+ < MenuGroupLabel > Thread layout</ MenuGroupLabel >
101+ < MenuSeparator />
102+ < MenuRadioGroup
103+ value = { layout }
104+ onValueChange = { ( value ) => setLayout ( value as ThreadWorkspaceLayout ) }
105+ >
106+ { LAYOUT_OPTIONS . map ( ( option ) => (
107+ < MenuRadioItem key = { option . value } value = { option . value } closeOnClick >
108+ < span className = "flex items-center gap-2" >
109+ < LayoutPreview columns = { option . columns } rows = { option . rows } />
110+ { option . label }
111+ </ span >
112+ </ MenuRadioItem >
113+ ) ) }
114+ </ MenuRadioGroup >
115+ </ MenuGroup >
113116 </ MenuPopup >
114117 </ Menu >
115118 ) ;
You can’t perform that action at this time.
0 commit comments