From 46f79b491173d284a4900d19e7aecf7509481438 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 21 一月 2022 17:21:25 +0800 Subject: [PATCH] 2022-01-21 --- src/tabviews/custom/components/chart/antv-bar-line/index.scss | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 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..04b5487 100644 --- a/src/tabviews/custom/components/chart/antv-bar-line/index.scss +++ b/src/tabviews/custom/components/chart/antv-bar-line/index.scss @@ -21,12 +21,31 @@ 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; letter-spacing: 0px; + height: 100%; } .canvas.empty { div { -- Gitblit v1.8.0