mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-30 09:18:01 -05:00
Compare commits
1 Commits
cursor/sta
...
cursor/not
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4b79f1fa59 |
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user