From fc771a05818a375e999d227875f328855c8ce096 Mon Sep 17 00:00:00 2001 From: Fine Date: Sun, 8 Oct 2023 10:32:05 +0800 Subject: [PATCH] fix: style --- src/views/dashboard/graphs/Bar.vue | 2 +- src/views/dashboard/graphs/Line.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/dashboard/graphs/Bar.vue b/src/views/dashboard/graphs/Bar.vue index 98c2bd02..8db91881 100644 --- a/src/views/dashboard/graphs/Bar.vue +++ b/src/views/dashboard/graphs/Bar.vue @@ -82,7 +82,7 @@ limitations under the License. --> }, enterable: true, confine: true, - extraCssText: "max-height: 300px; overflow: auto; border: none;", + extraCssText: "max-height:85%; overflow: auto;", }, legend: { type: "scroll", diff --git a/src/views/dashboard/graphs/Line.vue b/src/views/dashboard/graphs/Line.vue index fdfdbb4c..a9cda6f9 100644 --- a/src/views/dashboard/graphs/Line.vue +++ b/src/views/dashboard/graphs/Line.vue @@ -99,7 +99,7 @@ limitations under the License. --> }, enterable: true, confine: true, - extraCssText: "max-height: 300px; overflow: auto; border: none;", + extraCssText: "max-height:85%; overflow: auto;", }; const tips = { formatter(params: any) {