Skip to content

Commit b690ac4

Browse files
authored
fix: Remove sticky positioning from workflow component fields (langgenius#25470)
1 parent cbc0e63 commit b690ac4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • web/app/components/workflow/nodes/_base/components

web/app/components/workflow/nodes/_base/components/field.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const Field: FC<Props> = ({
3838
<div className={cn(className, inline && 'flex w-full items-center justify-between')}>
3939
<div
4040
onClick={() => supportFold && toggleFold()}
41-
className={cn('sticky top-0 flex items-center justify-between bg-components-panel-bg', supportFold && 'cursor-pointer')}>
41+
className={cn('flex items-center justify-between', supportFold && 'cursor-pointer')}>
4242
<div className='flex h-6 items-center'>
4343
<div className={cn(isSubTitle ? 'system-xs-medium-uppercase text-text-tertiary' : 'system-sm-semibold-uppercase text-text-secondary')}>
4444
{title} {required && <span className='text-text-destructive'>*</span>}

0 commit comments

Comments
 (0)