From eea69ccfb5292ad02580cfa9ff60773ea169d02b Mon Sep 17 00:00:00 2001 From: Fine Date: Fri, 12 Jan 2024 19:35:02 +0800 Subject: [PATCH] fix: style --- .../related/topology/components/Graph.vue | 9 +-- .../related/topology/pod/InstanceMap.vue | 79 ------------------- .../related/topology/service/HierarchyMap.vue | 79 ------------------- 3 files changed, 2 insertions(+), 165 deletions(-) diff --git a/src/views/dashboard/related/topology/components/Graph.vue b/src/views/dashboard/related/topology/components/Graph.vue index b66217e4..46e87fe9 100644 --- a/src/views/dashboard/related/topology/components/Graph.vue +++ b/src/views/dashboard/related/topology/components/Graph.vue @@ -113,7 +113,7 @@ limitations under the License. --> const topologyLayout = ref({}); const graphWidth = ref(100); const currentNode = ref>(null); - const diff = computed(() => [(width.value - graphWidth.value - 120) / 2, 20]); + const diff = computed(() => [(width.value - graphWidth.value - 120) / 2, 40]); const radius = 10; async function init() { @@ -186,8 +186,7 @@ limitations under the License. --> );