File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -86,11 +86,13 @@ export function BundlerSwitcher({children}: BundlerSwitcherProps) {
86
86
87
87
return (
88
88
< div className = { container } >
89
- < SegmentedControl selectedKey = { active ?. id } onSelectionChange = { onSelectionChange } styles = { switcher } >
90
- { items . map ( it => (
91
- < SegmentedControlItem key = { it . id } id = { it . id } > { it . label } </ SegmentedControlItem >
92
- ) ) }
93
- </ SegmentedControl >
89
+ < div className = { style ( { overflowX : 'auto' , width : 'auto' , flexGrow : 1 } ) } >
90
+ < SegmentedControl selectedKey = { active ?. id } onSelectionChange = { onSelectionChange } styles = { switcher } >
91
+ { items . map ( it => (
92
+ < SegmentedControlItem key = { it . id } id = { it . id } > { it . label } </ SegmentedControlItem >
93
+ ) ) }
94
+ </ SegmentedControl >
95
+ </ div >
94
96
{ active ?. content }
95
97
</ div >
96
98
) ;
You can’t perform that action at this time.
0 commit comments