diff --git a/src/views/dashboard/related/network-profiling/Content.vue b/src/views/dashboard/related/network-profiling/Content.vue index f041b75f..d9d615ad 100644 --- a/src/views/dashboard/related/network-profiling/Content.vue +++ b/src/views/dashboard/related/network-profiling/Content.vue @@ -53,7 +53,7 @@ const { t } = useI18n(); height: 100%; flex-grow: 2; min-width: 700px; - overflow: auto; + overflow: hidden; position: relative; width: calc(100% - 330px); } diff --git a/src/views/dashboard/related/network-profiling/components/ProcessTopology.vue b/src/views/dashboard/related/network-profiling/components/ProcessTopology.vue index 270be326..a3316d90 100644 --- a/src/views/dashboard/related/network-profiling/components/ProcessTopology.vue +++ b/src/views/dashboard/related/network-profiling/components/ProcessTopology.vue @@ -190,10 +190,10 @@ async function init() { function drawGraph() { const dom = chart.value?.getBoundingClientRect() || { - height: 30, + height: 20, width: 0, }; - height.value = (dom.height || 40) - 30; + height.value = (dom.height || 40) - 20; width.value = dom.width; diff.value[0] = (dom.width - radius * 2) / 2 + radius; svg.value.call(zoom(d3, graph.value, diff.value));