mirror of
https://github.com/henrygd/beszel.git
synced 2025-12-17 10:46:16 +01:00
standardize chart values to two decimals
This commit is contained in:
@@ -234,7 +234,7 @@ const ChartTooltipContent = React.forwardRef<
|
||||
</span>
|
||||
</div>
|
||||
{item.value !== undefined && (
|
||||
<span className="font-mono font-medium tabular-nums text-foreground">
|
||||
<span className="font-medium tabular-nums text-foreground">
|
||||
{content && typeof content === 'function'
|
||||
? content(item, key)
|
||||
: item.value.toLocaleString() + (unit ? unit : '')}
|
||||
|
||||
Reference in New Issue
Block a user