From 9a82bce9cf0ed4a51c1b0b0669eaa38cedbace07 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 16 七月 2020 16:35:58 +0800 Subject: [PATCH] 2020-07-16 --- src/tabviews/zshare/chartcomponent/index.scss | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/src/tabviews/zshare/chartcomponent/index.scss b/src/tabviews/zshare/chartcomponent/index.scss index 9c2838b..d8968db 100644 --- a/src/tabviews/zshare/chartcomponent/index.scss +++ b/src/tabviews/zshare/chartcomponent/index.scss @@ -1,8 +1,23 @@ .line-chart-plot-box { margin-bottom: 30px; - .canvas { + .canvas-wrap { margin: 0 20px; + position: relative; + border-top: 1px solid transparent; + .chart-action { + position: absolute; + top: 2px; + right: 5px; + z-index: 1; + } + .chart-action.with-title { + top: 35px; + } + } + + .canvas { + margin: 0; border: 1px solid #e8e8e8; padding: 25px 15px; } -- Gitblit v1.8.0