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:
2026-02-11 21:44:48 +03:00
parent c0a108a132
commit d3b98f9261

View File

@@ -27,7 +27,7 @@ export function ConnectionSelector() {
value={activeConnectionId ?? undefined}
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" />
</SelectTrigger>
<SelectContent>