From 5030edd0d6ebc0a59864adcecb94c745c175ecbb Mon Sep 17 00:00:00 2001 From: "diana.dolgolyova" Date: Fri, 13 Mar 2026 15:47:52 +0300 Subject: [PATCH] fix: compact victory cards, fix date picker overflow, improve city autocomplete MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Merge place/category/competition into single row for compact layout - Inline date range picker (no wrapper div causing overflow) - Remove restrictive Nominatim filter — show all location results - Reduce padding/gaps across all bio fields for denser layout Co-Authored-By: Claude Opus 4.6 --- src/app/admin/_components/FormField.tsx | 124 +++++++++++------------- src/app/admin/team/[id]/page.tsx | 16 +-- 2 files changed, 62 insertions(+), 78 deletions(-) diff --git a/src/app/admin/_components/FormField.tsx b/src/app/admin/_components/FormField.tsx index 840b144..a142bb1 100644 --- a/src/app/admin/_components/FormField.tsx +++ b/src/app/admin/_components/FormField.tsx @@ -392,37 +392,37 @@ export function VictoryListField({ label, items, onChange, placeholder, onLinkVa return (
-
+
{items.map((item, i) => ( -
-
+
+
updateText(i, e.target.value)} - className="flex-1 rounded-lg border border-white/10 bg-neutral-800 px-4 py-2 text-sm text-white outline-none focus:border-gold transition-colors" + className="flex-1 rounded-md border border-white/10 bg-neutral-800 px-2.5 py-1.5 text-sm text-white outline-none focus:border-gold transition-colors" />
-
+
{item.image ? ( -
- - {item.image.split("/").pop()} +
+ + {item.image.split("/").pop()}
) : ( -