Container queries!

This commit is contained in:
Gregory Schier
2023-03-20 01:08:41 -07:00
parent f4600f3e90
commit 5923399359
14 changed files with 212 additions and 245 deletions

View File

@@ -81,8 +81,8 @@ export function Input({
'relative w-full rounded-md text-gray-900',
'border border-gray-200 focus-within:border-focus',
!isValid && 'border-invalid',
size === 'md' && 'h-9',
size === 'sm' && 'h-7',
size === 'md' && 'h-md',
size === 'sm' && 'h-sm',
)}
>
{leftSlot}