Skip to content

Commit db85ae9

Browse files
authored
fix(chat): align resource mention icon spacing with mention chips (#5718)
1 parent a218ebe commit db85ae9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • apps/sim/app/workspace/[workspaceId]/home/components/message-content/components/chat-content

apps/sim/app/workspace/[workspaceId]/home/components/message-content/components/chat-content/chat-content.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ const MARKDOWN_COMPONENTS = {
241241
className={cn(
242242
'text-[var(--text-primary)]',
243243
kind
244-
? 'not-prose inline-flex items-center gap-[5px] no-underline'
244+
? 'not-prose inline-flex items-baseline gap-1 no-underline'
245245
: 'underline decoration-dashed underline-offset-4'
246246
)}
247247
onClick={(e) => {
@@ -261,7 +261,7 @@ const MARKDOWN_COMPONENTS = {
261261
{kind && ref && (
262262
<ContextMentionIcon
263263
context={{ kind, label: kind === 'file' ? fileIconLabel(ref, label) : label }}
264-
className='size-[14px] flex-shrink-0 text-[var(--text-icon)]'
264+
className='relative top-0.5 size-[12px] flex-shrink-0 text-[var(--text-icon)]'
265265
/>
266266
)}
267267
{children}

0 commit comments

Comments
 (0)