fix: align row-2 controls by bottom edge of input fields (SMS + toggle flush with dates)
This commit is contained in:
parent
ebff56c749
commit
f5a06188a2
|
|
@ -205,8 +205,10 @@ export const OrderFilters = ({ filters, setFilters, statusOptions = [], cities =
|
|||
/>
|
||||
</div>
|
||||
|
||||
{/* Row 2: Date range + SMS problems (width matches its text) + hide-completed toggle */}
|
||||
<div className="flex flex-wrap items-center gap-3">
|
||||
{/* Row 2: Date range + SMS problems (width matches its text) + hide-completed toggle.
|
||||
Align by the bottom edge of the input fields, not by center — dates have a
|
||||
label above the field, so items-center would lift SMS/toggle above them. */}
|
||||
<div className="flex flex-wrap items-end gap-3">
|
||||
<DatePicker
|
||||
value={filters.dateFrom || ""}
|
||||
onChange={(v) => updateFilter("dateFrom", v)}
|
||||
|
|
@ -244,7 +246,6 @@ export const OrderFilters = ({ filters, setFilters, statusOptions = [], cities =
|
|||
onChange={onToggleHideCompleted}
|
||||
label="Скрыть завершённые"
|
||||
title="Доставленные и отгруженные заказы скрыты"
|
||||
className="mb-0.5"
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue