diff --git a/src/ui/components/RuleHistory.tsx b/src/ui/components/RuleHistory.tsx index e1eddf4..285e002 100755 --- a/src/ui/components/RuleHistory.tsx +++ b/src/ui/components/RuleHistory.tsx @@ -1,6 +1,7 @@ import { useState } from "react"; import { Button } from "@/components/ui/button"; import { Input } from "@/components/ui/input"; +import { NativeSelect } from "@/components/ui/native-select"; import { useMutate } from "../hooks/useMutate.ts"; import { removeRuleFrom, setRuleFrom } from "../../store/actions.ts"; import { currentMonth } from "../../store/index.ts"; @@ -47,7 +48,7 @@ export function RuleHistory({ post }: Props) { } return ( -
+
{post.rules.length === 0 ? (

Not budgeted. Until a rule starts, this post is allocated nothing — @@ -99,8 +100,8 @@ export function RuleHistory({ post }: Props) { setFrom(next); }} /> - + Base currency (all totals use this) - +

@@ -192,9 +193,9 @@ export function CurrencySection() { - {status &&

{status}

} + {status && ( +

+ {status} +

+ )}
); @@ -277,7 +282,7 @@ function AddCurrency({ onAdd }: { onAdd: (def: { code: Currency; digits: number; } return ( -
+
-
- - { - const next = event.target.value; - setDigits(next); - }} - /> -
+ {/* No visible label. Its three siblings are labelled by placeholder, and + the DECIMALS column heading sits directly above this field in the + table — a fourth label here read as a heading for the whole row. */} + { + const next = event.target.value; + setDigits(next); + }} + /> diff --git a/src/ui/routes/settings/DataSection.tsx b/src/ui/routes/settings/DataSection.tsx index df63ba0..e8134f1 100644 --- a/src/ui/routes/settings/DataSection.tsx +++ b/src/ui/routes/settings/DataSection.tsx @@ -122,7 +122,6 @@ export function DataSection() { title="Your data" hint="Everything lives in this browser. Export regularly — it is both your backup and how you move your budget to another device." > -