fix: paper balance font-size auto-fit (text-base instead of text-lg)

This commit is contained in:
root 2026-02-28 12:38:52 +00:00
parent 1d2304261b
commit 95fec35d97

View File

@ -77,7 +77,7 @@ function SummaryCards() {
<div className="grid grid-cols-3 lg:grid-cols-7 gap-1.5"> <div className="grid grid-cols-3 lg:grid-cols-7 gap-1.5">
<div className="bg-white rounded-lg border border-slate-200 px-2.5 py-2"> <div className="bg-white rounded-lg border border-slate-200 px-2.5 py-2">
<p className="text-[10px] text-slate-400"></p> <p className="text-[10px] text-slate-400"></p>
<p className={`font-mono font-bold text-lg ${data.balance >= 10000 ? "text-emerald-600" : "text-red-500"}`}>${data.balance?.toLocaleString()}</p> <p className={`font-mono font-bold text-base ${data.balance >= 10000 ? "text-emerald-600" : "text-red-500"}`}>${data.balance?.toLocaleString()}</p>
</div> </div>
<div className="bg-white rounded-lg border border-slate-200 px-2.5 py-2"> <div className="bg-white rounded-lg border border-slate-200 px-2.5 py-2">
<p className="text-[10px] text-slate-400">(R)</p> <p className="text-[10px] text-slate-400">(R)</p>