Skip to content

Commit b43a684

Browse files
authored
feat(toolkit): update conversation card (#735)
* update conversation card * fix
1 parent 95d5639 commit b43a684

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/interfaces/assistants_web/src/components/SideNavPanel/ConversationCard.tsx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,18 +88,19 @@ export const ConversationCard: React.FC<Props> = ({ isActive, conversation, flip
8888
const menuItems = useMenuItems({ conversationId });
8989

9090
const info = (
91-
<div className="flex flex-col gap-y-1 pl-3">
91+
<div className="flex flex-col gap-y-2 pl-3">
9292
<div className="flex w-full items-center justify-between gap-x-0.5">
93-
<span className="flex items-center gap-x-1 truncate">
93+
<div className="flex w-full flex-col">
9494
<Text
9595
as="span"
96-
className={cn('h-[21px] truncate text-volcanic-300 dark:text-mushroom-950', {
97-
'font-medium': isActive,
98-
})}
96+
className={cn('h-[21px] truncate font-medium text-volcanic-300 dark:text-mushroom-950')}
9997
>
10098
{name}
10199
</Text>
102-
</span>
100+
<Text styleAs="p-sm" className="truncate">
101+
{conversation.description}
102+
</Text>
103+
</div>
103104

104105
{/* Placeholder for the kebab menu */}
105106
<div className="flex h-4 w-4 flex-shrink-0" />

0 commit comments

Comments
 (0)