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 | 26 ++++++++++++++++++++++++-- 1 files changed, 24 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 25ffcaa..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 { @@ -46,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