diff --git a/app/main.py b/app/main.py index ffb3cce..2c576a0 100644 --- a/app/main.py +++ b/app/main.py @@ -254,6 +254,7 @@ PAGE_HTML = """ .pill.inactive { background: #f6e9e5; color: var(--danger); } .pill.manual { background: #f1e8da; color: #a97a4a; } .num { font-variant-numeric: tabular-nums; } + .remaining-col { font-weight: 700; color: var(--green-deep); background: #eaf3ea; } .flash { padding: 12px 16px; border-radius: 8px; margin: 16px 0; font-size: 14px; display: none; } .flash.show { display: block; } .flash.ok { background: #eaf3ea; color: #2f5c30; } @@ -482,8 +483,8 @@ function renderMembers() { ? 'yes' : 'pending'; const credits = m.credit_balance ?? 0; - const creditsPill = credits > 0 - ? '' + fmt(credits) + '' + const creditsCell = credits > 0 + ? fmt(credits) : '—'; const src = m.manual ? 'manual' @@ -494,9 +495,9 @@ function renderMembers() { '' + act + '' + '' + src + '' + '' + fmt(m.balance) + '' + - '' + creditsPill + '' + + '' + creditsCell + '' + '' + fmt(memberSpend(m)) + '' + - '' + fmt(m.remaining) + '' + + '' + fmt(m.remaining) + '' + '' + esc(reset) + '' + '
' + '' +