Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

fix(costs): centre the amount/percent switch on its hint

Maurice647bb33565b9
diff --git a/client/src/components/Budget/CostsPanel.tsx b/client/src/components/Budget/CostsPanel.tsx
index 0ed687b8f..40da87cbb 100644
--- a/client/src/components/Budget/CostsPanel.tsx
+++ b/client/src/components/Budget/CostsPanel.tsx
@@ -1807,7 +1807,7 @@ export function ExpenseModal({ tripId, base, people, me, editing, prefill, onClo
)}
>
{splitMode === 'custom' ? (
- <div className="mb-2.5 flex items-start justify-between gap-3">
+ <div className="mb-2.5 flex items-center justify-between gap-3">
<p className="m-0 min-w-0 text-content-faint" style={fs(12, 'body')}>{t(inPercent ? 'costs.splitHint.percent' : 'costs.splitHint.custom')}</p>
<Segmented<CustomSplitUnit>
label={t('costs.splitUnit')}