Fixed amount overflow in cards
X-Lovable-Edit-ID: edt-3b53ed50-e17f-4a0e-be2b-807ecfcfca65 Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
@@ -261,7 +261,7 @@ function Dashboard() {
|
||||
<Link key={c.label} to={c.to}>
|
||||
<div className={`rounded-lg p-4 ${c.tone} hover:opacity-80 transition-opacity`}>
|
||||
<div className="text-xs text-muted-foreground mb-1">{c.label}</div>
|
||||
<div className="font-serif text-2xl">{loading ? "—" : c.value}</div>
|
||||
<div className="font-serif text-2xl tabular-nums truncate" title={loading ? "" : String(c.value)}>{loading ? "—" : c.value}</div>
|
||||
</div>
|
||||
</Link>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user