From e1fa2a714182a1cbe6ab514c53ae7e447afa0b0b Mon Sep 17 00:00:00 2001 From: "claude[bot]" <41898282+claude[bot]@users.noreply.github.com> Date: Mon, 20 Apr 2026 18:22:41 +0000 Subject: [PATCH] fix: prevent text overflow in environment cards - Add overflow-hidden to Card to contain all content within boundaries - Add line-clamp-2 to description paragraph to limit to 2 lines - Add min-w-0 to environment name span and resource selector code element so truncate works correctly inside flex containers Co-authored-by: Aditya Choudhari --- .../ws/environments/_components/EnvironmentCard.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/web/app/routes/ws/environments/_components/EnvironmentCard.tsx b/apps/web/app/routes/ws/environments/_components/EnvironmentCard.tsx index b6b53f827b..36798c48f0 100644 --- a/apps/web/app/routes/ws/environments/_components/EnvironmentCard.tsx +++ b/apps/web/app/routes/ws/environments/_components/EnvironmentCard.tsx @@ -79,10 +79,10 @@ export const EnvironmentCard: React.FC = ({ return ( <> - + - {environment.name} + {environment.name} = ({ {environment.description && ( -

+

{environment.description}

)} @@ -128,7 +128,7 @@ export const EnvironmentCard: React.FC = ({
- + {environment.resourceSelector}