Browse Source

fix: adjust padding in SearchInput component

imwald
codytseng 6 months ago
parent
commit
61bf2a0450
  1. 2
      src/components/SearchInput/index.tsx

2
src/components/SearchInput/index.tsx

@ -24,7 +24,7 @@ const SearchInput = forwardRef<HTMLInputElement, ComponentProps<'input'>>(
<div <div
tabIndex={0} tabIndex={0}
className={cn( className={cn(
'flex h-9 w-full items-center rounded-md border border-input bg-transparent px-2 py-1 text-base shadow-sm transition-colors md:text-sm [&:has(:focus-visible)]:ring-ring [&:has(:focus-visible)]:ring-1 [&:has(:focus-visible)]:outline-none', 'flex h-9 w-full items-center rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors md:text-sm [&:has(:focus-visible)]:ring-ring [&:has(:focus-visible)]:ring-1 [&:has(:focus-visible)]:outline-none',
className className
)} )}
> >

Loading…
Cancel
Save