fix: paper balance font-size auto-fit (text-base instead of text-lg)
This commit is contained in:
parent
1d2304261b
commit
95fec35d97
@ -77,7 +77,7 @@ function SummaryCards() {
|
||||
<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">
|
||||
<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 className="bg-white rounded-lg border border-slate-200 px-2.5 py-2">
|
||||
<p className="text-[10px] text-slate-400">总盈亏(R)</p>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user