Skip to content

Commit b3acf71

Browse files
committed
fix: filtering table into row, workflow name truncating
1 parent 50568c9 commit b3acf71

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

apps/sim/app/workspace/[workspaceId]/logs/components/log-details/log-details.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,9 @@ export function LogDetails({
161161
<ScrollArea className='mt-[20px] h-full w-full overflow-y-auto' ref={scrollAreaRef}>
162162
<div className='flex flex-col gap-[10px] pb-[16px]'>
163163
{/* Timestamp & Workflow Row */}
164-
<div className='flex items-center gap-[16px] px-[1px]'>
164+
<div className='flex min-w-0 items-center gap-[16px] px-[1px]'>
165165
{/* Timestamp Card */}
166-
<div className='flex w-[140px] flex-col gap-[8px]'>
166+
<div className='flex w-[140px] flex-shrink-0 flex-col gap-[8px]'>
167167
<div className='font-medium text-[12px] text-[var(--text-tertiary)]'>
168168
Timestamp
169169
</div>
@@ -179,16 +179,16 @@ export function LogDetails({
179179

180180
{/* Workflow Card */}
181181
{log.workflow && (
182-
<div className='flex flex-col gap-[8px]'>
182+
<div className='flex w-0 min-w-0 flex-1 flex-col gap-[8px]'>
183183
<div className='font-medium text-[12px] text-[var(--text-tertiary)]'>
184184
Workflow
185185
</div>
186-
<div className='flex items-center gap-[8px]'>
186+
<div className='flex min-w-0 items-center gap-[8px]'>
187187
<div
188188
className='h-[10px] w-[10px] flex-shrink-0 rounded-[3px]'
189189
style={{ backgroundColor: log.workflow?.color }}
190190
/>
191-
<span className='font-medium text-[14px] text-[var(--text-secondary)]'>
191+
<span className='min-w-0 flex-1 truncate font-medium text-[14px] text-[var(--text-secondary)]'>
192192
{log.workflow.name}
193193
</span>
194194
</div>

apps/sim/app/workspace/[workspaceId]/logs/logs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ export default function Logs() {
417417

418418
{/* Main content area with table - only show in logs view */}
419419
{!isDashboardView && (
420-
<div className='relative mt-[24px] flex min-h-0 flex-1 overflow-hidden rounded-[6px]'>
420+
<div className='relative mt-[24px] flex min-h-0 flex-1 flex-col overflow-hidden rounded-[6px]'>
421421
{/* Table container */}
422422
<div className='relative flex min-h-0 flex-1 flex-col overflow-hidden rounded-[6px] bg-[var(--surface-1)]'>
423423
{/* Table header */}

0 commit comments

Comments
 (0)