mirror of
https://github.com/snowball-tools/snowballtools-base.git
synced 2024-11-18 00:49:23 +00:00
🎨 style: truncate overflow text on projectCard
This commit is contained in:
parent
3a84832da5
commit
cdb995205a
@ -9,16 +9,18 @@ export const projectCardTheme = tv({
|
|||||||
'flex',
|
'flex',
|
||||||
'flex-col',
|
'flex-col',
|
||||||
'group',
|
'group',
|
||||||
|
'cursor-pointer',
|
||||||
],
|
],
|
||||||
upperContent: ['px-4', 'py-4', 'flex', 'items-start', 'gap-3', 'relative'],
|
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: [
|
title: [
|
||||||
'text-sm',
|
'text-sm',
|
||||||
'font-medium',
|
'font-medium',
|
||||||
'text-elements-high-em',
|
'text-elements-high-em',
|
||||||
'tracking-[-0.006em]',
|
'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'],
|
icons: ['flex', 'items-center', 'gap-1'],
|
||||||
lowerContent: [
|
lowerContent: [
|
||||||
'transition-colors',
|
'transition-colors',
|
||||||
|
Loading…
Reference in New Issue
Block a user