diff --git a/frontend/src/pages/index/StatusCard.vue b/frontend/src/pages/index/StatusCard.vue index 9865d5ba..ebcaed81 100644 --- a/frontend/src/pages/index/StatusCard.vue +++ b/frontend/src/pages/index/StatusCard.vue @@ -15,9 +15,14 @@ const props = defineProps({ defineEmits(['open-cpu-history']); // AD-Vue's default 120px dashboard renders the percent text at ~36px -// which dwarfs the rest of the card. 90 (or 70 on mobile) keeps the -// proportions sane against the surrounding labels. -const gaugeSize = computed(() => (props.isMobile ? 70 : 90)); +// which dwarfs the rest of the card. 70 (60 on mobile) plus the +// :deep(.ant-progress-text) override below keep the gauges compact. +const gaugeSize = computed(() => (props.isMobile ? 60 : 70)); + +// AD-Vue's default unfinished trail (rgba(0,0,0,0.06) / +// rgba(255,255,255,0.08)) is invisible against the light card; a +// neutral mid-gray reads on both themes. +const trailColor = 'rgba(128, 128, 128, 0.25)';