浏览代码

fix: Remove sticky positioning from workflow component fields (#25470)

tags/1.9.0
Wu Tianwei 1 个月前
父节点
当前提交
b690ac4e2a
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      web/app/components/workflow/nodes/_base/components/field.tsx

+ 1
- 1
web/app/components/workflow/nodes/_base/components/field.tsx 查看文件

<div className={cn(className, inline && 'flex w-full items-center justify-between')}> <div className={cn(className, inline && 'flex w-full items-center justify-between')}>
<div <div
onClick={() => supportFold && toggleFold()} onClick={() => supportFold && toggleFold()}
className={cn('sticky top-0 flex items-center justify-between bg-components-panel-bg', supportFold && 'cursor-pointer')}>
className={cn('flex items-center justify-between', supportFold && 'cursor-pointer')}>
<div className='flex h-6 items-center'> <div className='flex h-6 items-center'>
<div className={cn(isSubTitle ? 'system-xs-medium-uppercase text-text-tertiary' : 'system-sm-semibold-uppercase text-text-secondary')}> <div className={cn(isSubTitle ? 'system-xs-medium-uppercase text-text-tertiary' : 'system-sm-semibold-uppercase text-text-secondary')}>
{title} {required && <span className='text-text-destructive'>*</span>} {title} {required && <span className='text-text-destructive'>*</span>}

正在加载...
取消
保存