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 | 21 +++++++++++++++++++-- 1 files changed, 19 insertions(+), 2 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 714a088..f0903f8 100644 --- a/src/tabviews/custom/components/chart/antv-bar-line/index.scss +++ b/src/tabviews/custom/components/chart/antv-bar-line/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,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