Skip to content

Commit c1800b8

Browse files
committed
fix: system monitor broken layout when responsive
1 parent 9849865 commit c1800b8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

web/screens/SystemMonitor/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ export default function SystemMonitorScreen() {
2525
<ScrollArea className="h-full w-full">
2626
<div className="h-full p-8" data-test-id="testid-system-monitor">
2727
<div className="grid grid-cols-2 gap-8 lg:grid-cols-3">
28-
<div className="rounded-xl border border-border px-8 py-6">
28+
<div className="rounded-xl border border-border p-4">
2929
<div className="flex items-center justify-between">
3030
<h4 className="text-base font-bold uppercase">
3131
ram ({Math.round((usedRam / totalRam) * 100)}%)
3232
</h4>
3333
<span className="text-xs text-muted-foreground">
34-
{toGigabytes(usedRam)} GB of {toGigabytes(totalRam)} GB used
34+
{toGigabytes(usedRam)} of {toGigabytes(totalRam)} used
3535
</span>
3636
</div>
3737
<div className="mt-2">
@@ -41,7 +41,7 @@ export default function SystemMonitorScreen() {
4141
/>
4242
</div>
4343
</div>
44-
<div className="rounded-xl border border-border px-8 py-6">
44+
<div className="rounded-xl border border-border p-4">
4545
<div className="flex items-center justify-between">
4646
<h4 className="text-base font-bold uppercase">
4747
cpu ({cpuUsage}%)

0 commit comments

Comments
 (0)