fix(web): update search, listing, and map components

Improve agent profile client, comparison table, image gallery/upload,
listing map, filter bar, property card, and search results components
with better error handling, type safety, and UX refinements.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Ho Ngoc Hai
2026-04-11 01:40:15 +07:00
parent 759052a71f
commit 1b86c5bf2c
8 changed files with 74 additions and 16 deletions

View File

@@ -73,14 +73,14 @@ export function SearchResults({
return (
<div className="space-y-4">
<div className="flex items-center justify-between">
<div className="flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between">
<p className="text-sm text-muted-foreground">
{result.total} kết quả
</p>
<Select
value={sort}
onChange={(e) => onSortChange(e.target.value)}
className="w-48"
className="w-full sm:w-48"
>
<option value="">Mới nhất</option>
<option value="price_asc">Giá: Thấp đến cao</option>