diff --git a/hifi-src/src/components/VehicleSearch.jsx b/hifi-src/src/components/VehicleSearch.jsx index 72638dc..6164428 100644 --- a/hifi-src/src/components/VehicleSearch.jsx +++ b/hifi-src/src/components/VehicleSearch.jsx @@ -79,7 +79,7 @@ function search(entries, query) { return scored.slice(0, MAX_RESULTS).map((item) => item.entry); } -export default function VehicleSearch({ brands }) { +export default function VehicleSearch({ brands, width }) { const { t } = useLanguage(); const navigate = useNavigate(); const listId = useId(); @@ -145,7 +145,7 @@ export default function VehicleSearch({ brands }) { const modelsLoading = models === null && query.trim() !== ''; return ( -
+
@@ -173,7 +173,7 @@ export default function VehicleSearch({ brands }) { setOpen(true); }} onKeyDown={onKeyDown} - className="w-full rounded-xl border border-neutral-300 bg-white py-3.5 pl-11 pr-11 text-[15px] text-neutral-900 outline-none transition-colors placeholder:text-neutral-400 focus:border-brand-500 dark:border-neutral-700 dark:bg-neutral-900 dark:text-white dark:placeholder:text-neutral-500 [&::-webkit-search-cancel-button]:hidden" + className="vehicle-search-input w-full rounded-xl border border-neutral-300 bg-gradient-to-b from-white to-neutral-50 py-3.5 pl-11 pr-11 text-[15px] text-neutral-900 outline-none transition-[border-color,box-shadow] duration-200 placeholder:text-neutral-400 focus:border-brand-500 dark:border-neutral-700 dark:from-neutral-800 dark:to-neutral-900 dark:text-white dark:placeholder:text-neutral-500 [&::-webkit-search-cancel-button]:hidden" /> {query && (