From 96cbaf331555425963de91db721531416a70cd03 Mon Sep 17 00:00:00 2001 From: BOHA Date: Tue, 24 Mar 2026 07:54:10 +0100 Subject: [PATCH] fix: stack item description fields vertically with flex column --- src/admin/pages/OfferDetail.tsx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/admin/pages/OfferDetail.tsx b/src/admin/pages/OfferDetail.tsx index e5b96ca..cefd857 100644 --- a/src/admin/pages/OfferDetail.tsx +++ b/src/admin/pages/OfferDetail.tsx @@ -128,11 +128,13 @@ function SortableItemRow({ item, index, currency, readOnly, canDelete, onUpdate, )} {index + 1} - - onUpdate('description', e.target.value)} - className="admin-form-input" placeholder="Název položky" readOnly={readOnly} style={{ marginBottom: '0.25rem', fontWeight: 500 }} /> - onUpdate('item_description', e.target.value)} - className="admin-form-input" placeholder="Podrobný popis (volitelný)" readOnly={readOnly} style={{ fontSize: '0.8rem', opacity: 0.8 }} /> + +
+ onUpdate('description', e.target.value)} + className="admin-form-input" placeholder="Název položky" readOnly={readOnly} style={{ fontWeight: 500 }} /> + onUpdate('item_description', e.target.value)} + className="admin-form-input" placeholder="Podrobný popis (volitelný)" readOnly={readOnly} style={{ fontSize: '0.8rem', opacity: 0.8 }} /> +
onUpdate('quantity', parseFloat(e.target.value) || 0)}