Skip to content
TypeScript

fix(web): prevent connection rows from wrapping during removal (#8706)

Matthew Feroz6e3bac3722d1
diff --git a/apps/web/src/components/settings/ConnectionsSettings.tsx b/apps/web/src/components/settings/ConnectionsSettings.tsx
index 5aa244068ce..b33a81b7b7a 100644
--- a/apps/web/src/components/settings/ConnectionsSettings.tsx
+++ b/apps/web/src/components/settings/ConnectionsSettings.tsx
@@ -1438,10 +1438,12 @@ function SavedBackendListRow({
: null
}
/>
- <h3 className="text-sm font-medium text-foreground">{environment.label}</h3>
+ <h3 className="min-w-0 truncate text-sm font-medium text-foreground">
+ {environment.label}
+ </h3>
</div>
{metadataBits.length > 0 ? (
- <p className="text-xs text-muted-foreground">{metadataBits.join(" · ")}</p>
+ <p className="truncate text-xs text-muted-foreground">{metadataBits.join(" · ")}</p>
) : null}
{serverUpdateState.status !== "idle" ? (
<div className="max-w-md">