refactor: update agent API schemas, standardize UI text styling, and enhance settlement credit ledger components

This commit is contained in:
2026-06-11 18:02:02 +08:00
parent 44ad51698f
commit 1eb6702c51
54 changed files with 1888 additions and 1103 deletions

View File

@@ -818,7 +818,7 @@ export function PlayConfigDocScreen() {
<Input
type="text"
inputMode="decimal"
className="mx-auto h-8 w-24 text-center font-mono tabular-nums"
className="mx-auto h-8 w-24 text-center text-sm font-semibold"
disabled={saving}
value={formatAdminMinorDecimal(row.min_bet_amount, amountCurrencyCode)}
placeholder={t("play.placeholders.minBetAmount", { ns: "config" })}
@@ -830,7 +830,7 @@ export function PlayConfigDocScreen() {
}
/>
) : (
<ConfigReadonlyValue mono className="justify-center">
<ConfigReadonlyValue className="justify-center text-sm font-semibold">
{formatAdminMinorDecimal(row.min_bet_amount, amountCurrencyCode)}
</ConfigReadonlyValue>
)}
@@ -840,7 +840,7 @@ export function PlayConfigDocScreen() {
<Input
type="text"
inputMode="decimal"
className="mx-auto h-8 w-24 text-center font-mono tabular-nums"
className="mx-auto h-8 w-24 text-center text-sm font-semibold"
disabled={saving}
value={formatAdminMinorDecimal(row.max_bet_amount, amountCurrencyCode)}
placeholder={t("play.placeholders.maxBetAmount", { ns: "config" })}
@@ -852,7 +852,7 @@ export function PlayConfigDocScreen() {
}
/>
) : (
<ConfigReadonlyValue mono className="justify-center">
<ConfigReadonlyValue className="justify-center text-sm font-semibold">
{formatAdminMinorDecimal(row.max_bet_amount, amountCurrencyCode)}
</ConfigReadonlyValue>
)}