From b09b821ef36fd1ea979e9a5daa98e95732ac81d5 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 16 七月 2025 18:16:00 +0800
Subject: [PATCH] 2025-07-16

---
 src/tabviews/custom/components/chart/antv-bar-line/index.scss |   23 +++++++++++++++++++----
 1 files changed, 19 insertions(+), 4 deletions(-)

diff --git a/src/tabviews/custom/components/chart/antv-bar-line/index.scss b/src/tabviews/custom/components/chart/antv-bar-line/index.scss
index 093ce92..f0903f8 100644
--- a/src/tabviews/custom/components/chart/antv-bar-line/index.scss
+++ b/src/tabviews/custom/components/chart/antv-bar-line/index.scss
@@ -5,13 +5,10 @@
   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: 0px;
@@ -21,11 +18,29 @@
         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: 15px 10px 10px;
+    padding: 15px;
     letter-spacing: 0px;
   }
   .canvas.empty {

--
Gitblit v1.8.0