From 46ac245a869e001d1dc0fe5d15a678015fb81b29 Mon Sep 17 00:00:00 2001 From: ZacharyZcR Date: Mon, 12 Jan 2026 14:44:19 +0800 Subject: [PATCH] fix: prevent long container names from overflowing card Added min-w-0 to CardTitle to allow text truncation in flexbox. Without this, flex items have min-width: auto which prevents the truncate class from working properly. Fixes #411 --- .../desktop/apps/features/docker/components/ContainerCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/desktop/apps/features/docker/components/ContainerCard.tsx b/src/ui/desktop/apps/features/docker/components/ContainerCard.tsx index 30cb0ca3..c3be34b1 100644 --- a/src/ui/desktop/apps/features/docker/components/ContainerCard.tsx +++ b/src/ui/desktop/apps/features/docker/components/ContainerCard.tsx @@ -255,7 +255,7 @@ export function ContainerCard({ >
- + {container.name.startsWith("/") ? container.name.slice(1) : container.name}