File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/note-block Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -530,18 +530,13 @@ export const NoteBlock = memo(function NoteBlock({
530530 < div className = 'group relative' >
531531 < div
532532 className = { cn (
533- 'relative z-[20] w-[250px] cursor-default select-none rounded-[8px] border border-[var(--border)] bg-[var(--surface-2)]'
533+ '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 '
534534 ) }
535535 onClick = { handleClick }
536536 >
537537 < ActionBar blockId = { id } blockType = { type } disabled = { ! userPermissions . canEdit } />
538538
539- < div
540- className = 'note-drag-handle flex cursor-grab items-center justify-between border-[var(--divider)] border-b p-[8px] [&:active]:cursor-grabbing'
541- onMouseDown = { ( event ) => {
542- event . stopPropagation ( )
543- } }
544- >
539+ < div className = 'flex items-center justify-between border-[var(--divider)] border-b p-[8px]' >
545540 < div className = 'flex min-w-0 flex-1 items-center' >
546541 < span
547542 className = { cn (
You can’t perform that action at this time.
0 commit comments