diff options
| author | Adam Soltys <[email protected]> | 2026-02-11 23:02:30 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-02-11 23:02:30 -0800 |
| commit | 2e61e8abbc318c36969cb5add0c63df81135b4ab (patch) | |
| tree | 706396b41da448f0172719313fb6ae30ecebb004 /src/routes/(app)/payments | |
| parent | 56a04684c1fb77ea7b21afc6b0d2e1c4773906f6 (diff) | |
| download | coinos-ui-2e61e8abbc318c36969cb5add0c63df81135b4ab.tar.gz coinos-ui-2e61e8abbc318c36969cb5add0c63df81135b4ab.zip | |
formatting
Diffstat (limited to 'src/routes/(app)/payments')
| -rw-r--r-- | src/routes/(app)/payments/[...page]/+page.svelte | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/src/routes/(app)/payments/[...page]/+page.svelte b/src/routes/(app)/payments/[...page]/+page.svelte index f6cbcba8..4d20f8ef 100644 --- a/src/routes/(app)/payments/[...page]/+page.svelte +++ b/src/routes/(app)/payments/[...page]/+page.svelte @@ -148,9 +148,7 @@ </script> <div class="space-y-5"> - <h1 class="text-center text-3xl md:text-4xl font-semibold"> - {$t("payments.header")} - </h1> + <h1 class="text-center text-3xl md:text-4xl font-semibold">{$t("payments.header")}</h1> <div class="container w-full mx-auto text-lg px-2 max-w-xl space-y-2"> <div class="mx-auto flex justify-center w-full gap-1"> @@ -205,15 +203,23 @@ {#if totalIn > 0} <span class="text-left text-base text-secondary">{$t("payments.income")}</span> <!-- <span><b>{subtotalIn ? f(subtotalIn, c) : "-"}</b></span> --> - <span><b>{tipsIn > 0 ? f(tipsIn, c, locale) : ""}</b></span> - <span class="text-right"><b>{totalIn > 0 ? f(totalIn, c, locale) : "-"}</b></span> + <span> + <b>{tipsIn > 0 ? f(tipsIn, c, locale) : ""}</b> + </span> + <span class="text-right"> + <b>{totalIn > 0 ? f(totalIn, c, locale) : "-"}</b> + </span> {/if} {#if totalOut > 0} <span class="text-left text-base text-secondary">{$t("payments.expenditure")}</span> <!-- <span><b>{subtotalOut ? f(subtotalOut, c) : "-"}</b></span> --> - <span><b>{tipsOut > 0 ? f(tipsOut, c, locale) : "-"}</b></span> - <span class="text-right"><b>{totalOut > 0 ? f(totalOut, c, locale) : "-"}</b></span> + <span> + <b>{tipsOut > 0 ? f(tipsOut, c, locale) : "-"}</b> + </span> + <span class="text-right"> + <b>{totalOut > 0 ? f(totalOut, c, locale) : "-"}</b> + </span> {/if} {/each} </div> |
