Skip to content

Commit af1ee02

Browse files
BillLeoutsakosvl346Bill Leoutsakos
andauthored
improvement(ui): use standard compact icon buttons (#8080)
Co-authored-by: Bill Leoutsakos <billleoutsakos@Mac.localdomain>
1 parent de83615 commit af1ee02

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

  • apps/sim/app/workspace/[workspaceId]
    • tables/[tableId]/components/table-grid
    • w/[workflowId]/components/panel/components/editor/components/sub-block

‎apps/sim/app/workspace/[workspaceId]/tables/[tableId]/components/table-grid/data-row.tsx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -287,11 +287,11 @@ export const DataRow = React.memo(function DataRow({
287287
{hasWorkflowColumns && (
288288
<Button
289289
type='button'
290-
variant='ghost'
291-
size='sm'
290+
variant='quiet'
291+
size='icon'
292292
aria-label={runningCount > 0 ? `Stop ${runningCount} running` : 'Run row'}
293293
title={runningCount > 0 ? `Stop ${runningCount} running` : 'Run row'}
294-
className='size-[20px] shrink-0 p-0 text-[var(--text-primary)] hover-hover:bg-[var(--surface-2)]'
294+
className='shrink-0'
295295
onClick={() => {
296296
if (runningCount > 0) {
297297
onStopRow(row.id)

‎apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/sub-block.tsx‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,8 @@ const renderLabel = (
345345
e.stopPropagation()
346346
wandState.onSearchSubmit()
347347
}}
348-
className='size-[20px] shrink-0 p-0'
348+
size='icon'
349+
className='shrink-0'
349350
>
350351
<ArrowUp className='size-[12px]' />
351352
</Button>

0 commit comments

Comments
 (0)