From e812829d83b1fd296b25fbc244f89e9b38f687a9 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 28 九月 2020 09:28:15 +0800 Subject: [PATCH] 2020-09-28 --- src/menu/components/card/data-card/index.scss | 19 ++++++++++--------- 1 files changed, 10 insertions(+), 9 deletions(-) diff --git a/src/menu/components/card/data-card/index.scss b/src/menu/components/card/data-card/index.scss index 3644084..01e2c57 100644 --- a/src/menu/components/card/data-card/index.scss +++ b/src/menu/components/card/data-card/index.scss @@ -2,27 +2,28 @@ position: relative; box-sizing: border-box; background: #ffffff; + background-position: center center; + background-repeat: no-repeat; + background-size: cover; .card-control { position: absolute; top: 0px; - right: 0px; - width: 26px; - height: 27px; - z-index: 1; - background: #ffffff; + left: 0px; .anticon-tool { - padding: 5px; + right: auto; + left: 1px; } } .anticon-tool { position: absolute; z-index: 1; font-size: 16px; - right: 0; - top: 0; + right: 1px; + top: 1px; cursor: pointer; - padding: 10px; + padding: 5px; + background: #ffffff; } .card-item { -- Gitblit v1.8.0