Skip to content

Commit d7ab16f

Browse files
committed
Fix spacing between options
1 parent 68a2c88 commit d7ab16f

File tree

1 file changed

+2
-2
lines changed
  • apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/copilot/components/tool-call

1 file changed

+2
-2
lines changed

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/copilot/components/tool-call/tool-call.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ export function OptionsSelector({
252252
if (sortedOptions.length === 0) return null
253253

254254
return (
255-
<div ref={containerRef} className='mt-3 flex flex-col gap-1 pb-1'>
255+
<div ref={containerRef} className='mt-3 flex flex-col gap-0.5 pb-0.5'>
256256
{sortedOptions.map((option, index) => {
257257
const isHovered = index === hoveredIndex && !isLocked
258258
const isChosen = option.key === chosenKey
@@ -271,7 +271,7 @@ export function OptionsSelector({
271271
if (!isLocked && !streaming) setHoveredIndex(index)
272272
}}
273273
className={clsx(
274-
'group flex cursor-pointer items-start gap-2.5 rounded-[8px] p-1',
274+
'group flex cursor-pointer items-start gap-2 rounded-[6px] px-1 py-0.5',
275275
'hover:bg-[var(--surface-6)] dark:hover:bg-[var(--surface-5)]',
276276
disabled && 'cursor-not-allowed opacity-50',
277277
streaming && 'pointer-events-none',

0 commit comments

Comments
 (0)