Fix pair editor adding new entry when clicking below

This commit is contained in:
Gregory Schier
2024-09-19 08:55:35 -07:00
parent d9fb7f1b21
commit ed368cd251
2 changed files with 60 additions and 23 deletions

View File

@@ -59,7 +59,7 @@ export const PlainInput = forwardRef<HTMLInputElement, PlainInputProps>(function
const inputClassName = classNames(
className,
'!bg-transparent min-w-0 h-auto w-full focus:outline-none placeholder:text-placeholder',
'px-1.5 text-xs font-mono cursor-text',
'px-2 text-xs font-mono cursor-text',
);
const isValid = useMemo(() => {