refactor: update radio group implementation and improve input styling

This commit is contained in:
Anish Sarkar 2026-03-20 17:09:31 +05:30
parent f16e0d95ad
commit 15857ecfd6
6 changed files with 75 additions and 59 deletions

View file

@ -86,7 +86,7 @@ export function DocumentsFilters({
placeholder="Search types"
value={typeSearchQuery}
onChange={(e) => setTypeSearchQuery(e.target.value)}
className="h-6 pl-6 text-sm bg-transparent border-0 shadow-none focus-visible:ring-0"
className="h-6 pl-6 text-sm bg-transparent border-0 shadow-none"
/>
</div>
</div>
@ -172,7 +172,7 @@ export function DocumentsFilters({
<Input
id={`${id}-input`}
ref={inputRef}
className="peer h-9 w-full pl-9 pr-9 text-sm bg-sidebar border-border/60 focus-visible:ring-1 focus-visible:ring-ring/30 select-none focus:select-text"
className="peer h-9 w-full pl-9 pr-9 text-sm bg-sidebar border-border/60 select-none focus:select-text"
value={searchValue}
onChange={(e) => onSearch(e.target.value)}
placeholder="Search docs"