mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-06-12 09:24:29 +02:00
Fix editor toolbar blocking things
This commit is contained in:
@@ -224,7 +224,10 @@ const _Editor = forwardRef<EditorView | undefined, EditorProps>(function Editor(
|
|||||||
space={1}
|
space={1}
|
||||||
alignItems="center"
|
alignItems="center"
|
||||||
justifyContent="end"
|
justifyContent="end"
|
||||||
className="absolute bottom-2 left-0 right-0"
|
className={classNames(
|
||||||
|
'absolute bottom-2 left-0 right-0',
|
||||||
|
'pointer-events-none', // No pointer events so we don't block the editor
|
||||||
|
)}
|
||||||
>
|
>
|
||||||
{format && (
|
{format && (
|
||||||
<IconButton
|
<IconButton
|
||||||
|
|||||||
@@ -326,10 +326,10 @@ const FormRow = memo(function FormRow({
|
|||||||
<div
|
<div
|
||||||
className={classNames(
|
className={classNames(
|
||||||
'py-2 h-7 w-3 flex items-center',
|
'py-2 h-7 w-3 flex items-center',
|
||||||
'justify-center opacity-0 hover:opacity-100',
|
'justify-center opacity-0 group-hover:opacity-70',
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<Icon icon="drag" className="pointer-events-none" />
|
<Icon icon="gripVertical" className="pointer-events-none" />
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<span className="w-3" />
|
<span className="w-3" />
|
||||||
|
|||||||
Reference in New Issue
Block a user