Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(chat): align resource mention icon spacing with mention chips
  • Loading branch information
waleedlatif1 committed Jul 16, 2026
commit f27e66611ef6e8b899709e8d0cd779ae99b79ff1
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ const MARKDOWN_COMPONENTS = {
className={cn(
'text-[var(--text-primary)]',
kind
? 'not-prose inline-flex items-center gap-[5px] no-underline'
? 'not-prose inline-flex items-baseline gap-1 no-underline'
: 'underline decoration-dashed underline-offset-4'
)}
onClick={(e) => {
Expand All @@ -261,7 +261,7 @@ const MARKDOWN_COMPONENTS = {
{kind && ref && (
<ContextMentionIcon
context={{ kind, label: kind === 'file' ? fileIconLabel(ref, label) : label }}
className='size-[14px] flex-shrink-0 text-[var(--text-icon)]'
className='relative top-0.5 size-[12px] flex-shrink-0 text-[var(--text-icon)]'
/>
)}
{children}
Expand Down
Loading