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 | 22 ++++++++++++++++++++-- 1 files changed, 20 insertions(+), 2 deletions(-) diff --git a/src/tabviews/custom/components/chart/antv-scatter/index.scss b/src/tabviews/custom/components/chart/antv-scatter/index.scss index c9ad16c..9faf7ac 100644 --- a/src/tabviews/custom/components/chart/antv-scatter/index.scss +++ b/src/tabviews/custom/components/chart/antv-scatter/index.scss @@ -9,7 +9,6 @@ .canvas-wrap { margin: 0 0px; position: relative; - min-height: calc(100% - 45px); .chart-action { position: absolute; top: 0px; @@ -19,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: 15px 10px 10px; + padding: 15px; letter-spacing: 0px; } .canvas.empty { -- Gitblit v1.8.0