From d3817021ff7abf9dcaae787fe15400dafdcb551c Mon Sep 17 00:00:00 2001 From: Unsloth Date: Wed, 29 Jul 2026 01:39:28 -0700 Subject: [PATCH] Studio: stack the GPU meter under its figures and tint the VRAM pill The meter sat beside the used/free/total figures with only a fixed 24 width, so it read as squeezed. Move it under them where it spans their width. The pill was muted grey and washed out in light mode; give it the same accent fill the New tags use. --- .../src/features/settings/tabs/resources-tab.tsx | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/studio/frontend/src/features/settings/tabs/resources-tab.tsx b/studio/frontend/src/features/settings/tabs/resources-tab.tsx index 6348d2066d..c1889a4168 100644 --- a/studio/frontend/src/features/settings/tabs/resources-tab.tsx +++ b/studio/frontend/src/features/settings/tabs/resources-tab.tsx @@ -487,9 +487,9 @@ export function ResourcesTab() { ? formatPercent(safePercent) : unknownLabel; return ( - // Name over backend on the left, figures and meter beside them. - // The meter is deliberately short: at full width it read as a - // rule across the pane rather than a reading for one device. + // Name over backend on the left, figures over the meter on the + // right. The meter tracks the figures' width rather than the + // pane's, so it reads as one device's usage, not a rule.
- + {/* Same accent pill as the New tags, which stays legible + on the light background. */} + {percentText}{" "} {t("settings.resources.gpu.vramUtilization")}
-
+ {/* Meter under the figures, so it spans their width instead of + being squeezed into the gap beside them. */} +
{t("settings.resources.gpu.used", { value: usedText })} @@ -529,7 +533,7 @@ export function ResourcesTab() {