Native Codemirror cursor

This commit is contained in:
Gregory Schier
2023-10-27 13:14:41 -07:00
parent 65efee2048
commit 408665c62d
4 changed files with 9 additions and 7 deletions

View File

@@ -116,9 +116,9 @@ export const Input = forwardRef<EditorView | undefined, InputProps>(function Inp
'border',
focused ? 'border-focus' : 'border-highlight',
!isValid && '!border-invalid',
size === 'md' && 'h-md leading-md',
size === 'sm' && 'h-sm leading-sm',
size === 'auto' && '!min-h-sm',
size === 'md' && 'h-md',
size === 'sm' && 'h-sm',
size === 'auto' && 'min-h-sm',
)}
>
{leftSlot}