From 72419e2f826031a158173f46d723a672064e37cd Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 31 八月 2021 22:42:51 +0800 Subject: [PATCH] 2021-08-31 --- src/tabviews/custom/components/chart/antv-dashboard/index.scss | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/tabviews/custom/components/chart/antv-dashboard/index.scss b/src/tabviews/custom/components/chart/antv-dashboard/index.scss index f90d8c7..10db44d 100644 --- a/src/tabviews/custom/components/chart/antv-dashboard/index.scss +++ b/src/tabviews/custom/components/chart/antv-dashboard/index.scss @@ -5,10 +5,13 @@ background-repeat: no-repeat; background-size: cover; min-height: 100px; + display: flex; + flex-flow: column; .canvas-wrap { margin: 0 0px; position: relative; + flex: 1; .chart-action { position: absolute; top: 2px; @@ -45,6 +48,10 @@ top: 0; right: 0px; bottom: 0px; + display: flex; + align-items: center; + justify-content: center; + text-align: justify; z-index: 1; .ant-spin-blur { -- Gitblit v1.8.0