style(ui): optimize monitor chart tooltip unit display on small screens

This commit is contained in:
duorameng
2026-06-18 10:53:31 +08:00
parent e2c934558c
commit 50daa79c0a
+2 -2
View File
@@ -197,7 +197,7 @@ const goroutineChartData = computed(() => ({
labels: [...timeLabels.value], labels: [...timeLabels.value],
datasets: [ datasets: [
{ {
label: 'Goroutines (协程并发数)', label: 'Goroutines(协程数)',
backgroundColor: 'rgba(37, 99, 235, 0.1)', backgroundColor: 'rgba(37, 99, 235, 0.1)',
borderColor: '#2563eb', // blue-600 borderColor: '#2563eb', // blue-600
borderWidth: 2, borderWidth: 2,
@@ -242,7 +242,7 @@ const gcChartData = computed(() => ({
labels: [...timeLabels.value], labels: [...timeLabels.value],
datasets: [ datasets: [
{ {
label: 'GC Pause (ms) 垃圾回收停顿时间', label: 'GC Pause(ms) 垃圾回收停顿',
backgroundColor: '#ea580c', // orange-600 backgroundColor: '#ea580c', // orange-600
data: [...gcPausesData.value], data: [...gcPausesData.value],
borderRadius: 4 borderRadius: 4