From 4b8dfd5b200a5da98795bd2a9b51b636617ca097 Mon Sep 17 00:00:00 2001 From: DanielS Date: Tue, 11 Aug 2026 00:41:18 +0200 Subject: [PATCH] style: align heights of step 1 selection boxes in wizard --- shop/components/wizard/step-customer.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/shop/components/wizard/step-customer.tsx b/shop/components/wizard/step-customer.tsx index f8cf0d4..9380438 100644 --- a/shop/components/wizard/step-customer.tsx +++ b/shop/components/wizard/step-customer.tsx @@ -175,10 +175,10 @@ export function StepCustomer({ -
+
{/* ─── 1. ADMIN PARTNER SELECTION ─── */} {isAdmin && ( -
+
{/* Partner Card List */} -
+
{/* Reserved Fixed Card: Alle Partner */}
{ @@ -378,7 +378,7 @@ export function StepCustomer({ animate={{ opacity: 1, y: 0 }} exit={{ opacity: 0, y: -10 }} transition={{ duration: 0.2 }} - className="p-5 rounded-2xl bg-white/5 border border-white/10 space-y-4" + className="p-5 rounded-2xl bg-white/5 border border-white/10 flex flex-col h-[34rem] overflow-hidden justify-between space-y-4" >
@@ -412,7 +412,7 @@ export function StepCustomer({
) : ( -
+
{/* Customer Header Controls: Search & Page Size */}
@@ -445,9 +445,9 @@ export function StepCustomer({ Keine passenden Kunden gefunden.
) : ( - <> +
{/* Customer Card List */} -
+
{paginatedCustomers.map((customer) => { const isSelected = selectedEndCustomerId === customer.id @@ -546,7 +546,7 @@ export function StepCustomer({
- +
)}
)} @@ -561,7 +561,7 @@ export function StepCustomer({ animate={{ opacity: 1, y: 0 }} exit={{ opacity: 0, y: -10 }} transition={{ duration: 0.2 }} - className="grid grid-cols-1 md:grid-cols-2 gap-4 p-4 rounded-xl bg-white/5 border border-white/10" + className="grid grid-cols-1 md:grid-cols-2 gap-4 p-5 rounded-2xl bg-white/5 border border-white/10 h-[34rem] overflow-y-auto content-start" > {( [