From cdb995205afbaff4377911c85580c48e3cc4c1e7 Mon Sep 17 00:00:00 2001 From: Andre H Date: Thu, 7 Mar 2024 14:22:32 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20style:=20truncate=20overflow=20t?= =?UTF-8?q?ext=20on=20projectCard?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/projects/ProjectCard/ProjectCard.theme.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/frontend/src/components/projects/ProjectCard/ProjectCard.theme.ts b/packages/frontend/src/components/projects/ProjectCard/ProjectCard.theme.ts index db662eb..117a2cd 100644 --- a/packages/frontend/src/components/projects/ProjectCard/ProjectCard.theme.ts +++ b/packages/frontend/src/components/projects/ProjectCard/ProjectCard.theme.ts @@ -9,16 +9,18 @@ export const projectCardTheme = tv({ 'flex', 'flex-col', 'group', + 'cursor-pointer', ], upperContent: ['px-4', 'py-4', 'flex', 'items-start', 'gap-3', 'relative'], - content: ['flex', 'flex-col', 'gap-1', 'flex-1'], + content: ['flex', 'flex-col', 'gap-1', 'flex-1', 'overflow-hidden'], title: [ 'text-sm', 'font-medium', 'text-elements-high-em', 'tracking-[-0.006em]', + 'truncate', ], - description: ['text-xs', 'text-elements-low-em'], + description: ['text-xs', 'text-elements-low-em', 'truncate'], icons: ['flex', 'items-center', 'gap-1'], lowerContent: [ 'transition-colors',