date input: add labels, validation, fix NaN checking

This commit is contained in:
Elijah Duffy
2025-07-03 11:08:02 -07:00
parent a307ffee92
commit 7a7fade491
2 changed files with 52 additions and 30 deletions

View File

@@ -15,7 +15,7 @@
'transition-fontColor block',
error && !bigError
? 'mt-1 text-sm font-normal text-red-500'
: 'text-text dark:text-background mb-3 text-base font-medium',
: 'text-text dark:text-background mb-2 text-base font-medium',
bigError && 'text-red-500!'
]}
>