mirror of
https://github.com/Buriburizaem0n/nezha-dash-v1.git
synced 2026-02-05 05:00:07 +00:00
fix: mem chart overflow
This commit is contained in:
@@ -411,7 +411,7 @@ function MemChart({ now, data }: { now: number; data: NezhaServer }) {
|
|||||||
value={mem}
|
value={mem}
|
||||||
primaryColor="hsl(var(--chart-8))"
|
primaryColor="hsl(var(--chart-8))"
|
||||||
/>
|
/>
|
||||||
<p className="text-xs font-medium">{mem.toFixed(2)}%</p>
|
<p className="text-xs font-medium">{mem.toFixed(0)}%</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex flex-col">
|
<div className="flex flex-col">
|
||||||
@@ -424,7 +424,7 @@ function MemChart({ now, data }: { now: number; data: NezhaServer }) {
|
|||||||
value={swap}
|
value={swap}
|
||||||
primaryColor="hsl(var(--chart-10))"
|
primaryColor="hsl(var(--chart-10))"
|
||||||
/>
|
/>
|
||||||
<p className="text-xs font-medium">{swap.toFixed(2)}%</p>
|
<p className="text-xs font-medium">{swap.toFixed(0)}%</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
Reference in New Issue
Block a user