From f3d4db769ba9b51b799d981511a710fd443d0e08 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 21 四月 2025 12:18:03 +0800
Subject: [PATCH] Merge branch 'master' into positec

---
 src/tabviews/custom/components/chart/antv-scatter/index.scss |   25 ++++++++++++++++++++++++-
 1 files changed, 24 insertions(+), 1 deletions(-)

diff --git a/src/tabviews/custom/components/chart/antv-scatter/index.scss b/src/tabviews/custom/components/chart/antv-scatter/index.scss
index c8f3c8c..9faf7ac 100644
--- a/src/tabviews/custom/components/chart/antv-scatter/index.scss
+++ b/src/tabviews/custom/components/chart/antv-scatter/index.scss
@@ -18,11 +18,30 @@
         float: right;
       }
     }
+    .download {
+      position: absolute;
+      z-index: 1;
+      right: 10px;
+      top: 8px;
+      opacity: 0;
+      transition: opacity 0.3s;
+      cursor: pointer;
+      font-size: 16px;
+    }
+    .chart-action.downable {
+      right: 35px;
+    }
+  }
+
+  .canvas-wrap:hover {
+    .download {
+      opacity: 1;
+    }
   }
 
   .canvas {
     margin: 0;
-    padding: 20px 15px 15px;
+    padding: 15px;
     letter-spacing: 0px;
   }
   .canvas.empty {
@@ -45,6 +64,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