File tree Expand file tree Collapse file tree
packages/web/src/features/chat/components/chatBox Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -320,23 +320,17 @@ export const SearchScopeSelector = forwardRef<
320320 >
321321 < CheckIcon className = "h-4 w-4" />
322322 </ div >
323- < div className = "flex items-center gap-2 flex-1 " >
323+ < div className = "flex flex-row items-center gap-2 w-full overflow-hidden " >
324324 < SearchScopeIcon searchScope = { item } />
325- < div className = "flex flex-col flex-1" >
326- < div className = "flex items-center gap-2" >
327- < span className = "font-medium" >
328- { item . name }
329- </ span >
330- { item . type === 'reposet' && (
331- < Badge
332- variant = "default"
333- className = "text-[10px] px-1.5 py-0 h-4 bg-primary text-primary-foreground"
334- >
335- { item . repoCount } repo{ item . repoCount === 1 ? '' : 's' }
336- </ Badge >
337- ) }
338- </ div >
339- </ div >
325+ < p className = "font-medium truncate-start" > { item . name } </ p >
326+ { item . type === 'reposet' && (
327+ < Badge
328+ variant = "default"
329+ className = "text-[10px] px-1.5 py-0 h-4 bg-primary text-primary-foreground"
330+ >
331+ { item . repoCount } repo{ item . repoCount === 1 ? '' : 's' }
332+ </ Badge >
333+ ) }
340334 </ div >
341335 </ div >
342336 ) ;
You can’t perform that action at this time.
0 commit comments