Compare commits

...

1 Commits

Author SHA1 Message Date
Cursor Agent
4b79f1fa59 feat(note-block): enable body dragging to match workflow block
Co-authored-by: emir <emir@simstudio.ai>
2026-01-30 02:45:05 +00:00

View File

@@ -530,18 +530,13 @@ export const NoteBlock = memo(function NoteBlock({
<div className='group relative'>
<div
className={cn(
'relative z-[20] w-[250px] cursor-default select-none rounded-[8px] border border-[var(--border)] bg-[var(--surface-2)]'
'note-drag-handle relative z-[20] w-[250px] cursor-grab select-none rounded-[8px] border border-[var(--border)] bg-[var(--surface-2)] [&:active]:cursor-grabbing'
)}
onClick={handleClick}
>
<ActionBar blockId={id} blockType={type} disabled={!userPermissions.canEdit} />
<div
className='note-drag-handle flex cursor-grab items-center justify-between border-[var(--divider)] border-b p-[8px] [&:active]:cursor-grabbing'
onMouseDown={(event) => {
event.stopPropagation()
}}
>
<div className='flex items-center justify-between border-[var(--divider)] border-b p-[8px]'>
<div className='flex min-w-0 flex-1 items-center'>
<span
className={cn(