mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-17 23:13:51 +01: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}
|
||||
alignItems="center"
|
||||
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 && (
|
||||
<IconButton
|
||||
|
||||
@@ -326,10 +326,10 @@ const FormRow = memo(function FormRow({
|
||||
<div
|
||||
className={classNames(
|
||||
'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>
|
||||
) : (
|
||||
<span className="w-3" />
|
||||
|
||||
Reference in New Issue
Block a user