fix: reach acceptable border outline contrast threshold on My Files search input when focused

This commit is contained in:
Dustin Healy 2025-12-05 08:09:37 -08:00
parent 31bb9d255f
commit 641ad54800

View file

@ -119,7 +119,7 @@ export default function DataTable<TData, TValue>({ columns, data }: DataTablePro
placeholder=" "
value={(table.getColumn('filename')?.getFilterValue() as string | undefined) ?? ''}
onChange={(event) => table.getColumn('filename')?.setFilterValue(event.target.value)}
className="peer w-full text-sm"
className="peer w-full text-sm focus-visible:border-ring"
aria-label={localize('com_files_filter_input')}
/>
<label className="absolute left-2 top-1/2 -translate-y-1/2 text-sm text-text-primary transition-all duration-200 peer-focus:-top-2 peer-focus:text-xs peer-focus:text-text-primary peer-[:not(:placeholder-shown)]:-top-2 peer-[:not(:placeholder-shown)]:text-xs">