wwf
3 天以前 a430284aa21e3ae1f0d5654e55b2ad2852519cc2
app/components/workflow/note-node/index.tsx
@@ -61,7 +61,7 @@
  return (
    <div
      className={cn(
        'relative flex flex-col rounded-md border shadow-xs hover:shadow-md',
        'flex flex-col relative rounded-md shadow-xs border hover:shadow-md',
        THEME_MAP[theme].bg,
        data.selected ? THEME_MAP[theme].border : 'border-black/5',
      )}
@@ -85,12 +85,12 @@
          />
          <div
            className={cn(
              'h-2 shrink-0 rounded-t-md opacity-50',
              'shrink-0 h-2 opacity-50 rounded-t-md',
              THEME_MAP[theme].title,
            )}></div>
          {
            data.selected && (
              <div className='absolute left-1/2 top-[-41px] -translate-x-1/2'>
              <div className='absolute -top-[41px] left-1/2 -translate-x-1/2'>
                <NoteEditorToolbar
                  theme={theme}
                  onThemeChange={handleThemeChange}
@@ -103,7 +103,7 @@
              </div>
            )
          }
          <div className='grow overflow-y-auto px-3 py-2.5'>
          <div className='grow px-3 py-2.5 overflow-y-auto'>
            <div className={cn(
              data.selected && 'nodrag nopan nowheel cursor-text',
            )}>