Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Handle long subfolder names
  • Loading branch information
TheodoreSpeaks committed Apr 14, 2026
commit 5a66ddf30a97263ad2d98f7e153dd289fc9deaec
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,14 @@ export const MemoizedWorkflowItem = memo(
{folderPath && folderPath.length > 0 && (
<span className='ml-auto flex min-w-0 pl-2 font-base text-[var(--text-subtle)] text-small'>
{folderPath.length > 1 && (
<span className='min-w-0 flex-shrink truncate'>
{folderPath.slice(0, -1).join(' / ')}
</span>
<>
<span className='min-w-0 truncate [flex-shrink:9999]'>
{folderPath.slice(0, -1).join(' / ')}
</span>
<span className='flex-shrink-0 whitespace-pre'> / </span>
</>
)}
<span className='flex-shrink-0 whitespace-pre'>
{folderPath.length > 1 ? ` / ${folderPath[folderPath.length - 1]}` : folderPath[0]}
</span>
<span className='min-w-0 truncate'>{folderPath[folderPath.length - 1]}</span>
</span>
)}
</Command.Item>
Expand Down
Loading