fix: widen connection selector to fit environment badge
Changed from fixed w-[200px] to w-auto max-w-[280px] so the trigger sizes to its content without clipping the environment badge. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -27,7 +27,7 @@ export function ConnectionSelector() {
|
|||||||
value={activeConnectionId ?? undefined}
|
value={activeConnectionId ?? undefined}
|
||||||
onValueChange={setActiveConnectionId}
|
onValueChange={setActiveConnectionId}
|
||||||
>
|
>
|
||||||
<SelectTrigger className="h-7 w-[200px] text-xs">
|
<SelectTrigger className="h-7 w-auto max-w-[280px] text-xs">
|
||||||
<SelectValue placeholder="Select connection" />
|
<SelectValue placeholder="Select connection" />
|
||||||
</SelectTrigger>
|
</SelectTrigger>
|
||||||
<SelectContent>
|
<SelectContent>
|
||||||
|
|||||||
Reference in New Issue
Block a user