From 814a1a738dc42898c3298a79724df7265d78c404 Mon Sep 17 00:00:00 2001 From: Qiuxia Fan Date: Tue, 24 May 2022 11:22:19 +0800 Subject: [PATCH] update width --- src/views/dashboard/related/ebpf/components/EBPFStack.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/dashboard/related/ebpf/components/EBPFStack.vue b/src/views/dashboard/related/ebpf/components/EBPFStack.vue index b5147354..655b3302 100644 --- a/src/views/dashboard/related/ebpf/components/EBPFStack.vue +++ b/src/views/dashboard/related/ebpf/components/EBPFStack.vue @@ -71,7 +71,7 @@ function drawGraph() { const width = (graph.value && graph.value.getBoundingClientRect().width) || 0; const w = width < 800 ? 802 : width; flameChart.value = flamegraph() - .width(w - 2) + .width(w - 15) .cellHeight(18) .transitionDuration(750) .minFrameSize(1)