Skip to content

Commit 7af5247

Browse files
committed
fix(web): prevent connection rows from wrapping during removal
1 parent a1a2bb1 commit 7af5247

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎apps/web/src/components/settings/ConnectionsSettings.tsx‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1437,10 +1437,12 @@ function SavedBackendListRow({
14371437
: null
14381438
}
14391439
/>
1440-
<h3 className="text-sm font-medium text-foreground">{environment.label}</h3>
1440+
<h3 className="min-w-0 truncate text-sm font-medium text-foreground">
1441+
{environment.label}
1442+
</h3>
14411443
</div>
14421444
{metadataBits.length > 0 ? (
1443-
<p className="text-xs text-muted-foreground">{metadataBits.join(" · ")}</p>
1445+
<p className="truncate text-xs text-muted-foreground">{metadataBits.join(" · ")}</p>
14441446
) : null}
14451447
{serverUpdateState.status !== "idle" ? (
14461448
<div className="max-w-md">

0 commit comments

Comments
 (0)