From 1b89aa4493d1c9768447f2f480d594cdb8077fdc Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 26 十月 2020 09:24:19 +0800 Subject: [PATCH] 2020-10-26 --- src/tabviews/custom/components/card/data-card/index.scss | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/tabviews/custom/components/card/data-card/index.scss b/src/tabviews/custom/components/card/data-card/index.scss index 423d9bb..5ce4120 100644 --- a/src/tabviews/custom/components/card/data-card/index.scss +++ b/src/tabviews/custom/components/card/data-card/index.scss @@ -1,5 +1,8 @@ .custom-card-box { background: #ffffff; + background-position: center center; + background-repeat: no-repeat; + background-size: cover; min-height: 100px; display: flex; position: relative; @@ -16,7 +19,8 @@ } img { width: 15px; - height: 100px; + padding: 0 2px; + height: 70px; cursor: pointer; } } -- Gitblit v1.8.0