From 5ec0f02101cb4255c6398856bbf17a2a0b2c9a7e Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 14 十一月 2022 17:33:55 +0800 Subject: [PATCH] 2022-11-14 --- src/tabviews/custom/components/carousel/data-card/index.scss | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/tabviews/custom/components/carousel/data-card/index.scss b/src/tabviews/custom/components/carousel/data-card/index.scss index c5eb03a..ee17b7f 100644 --- a/src/tabviews/custom/components/carousel/data-card/index.scss +++ b/src/tabviews/custom/components/carousel/data-card/index.scss @@ -5,7 +5,6 @@ background-size: cover; position: relative; min-height: 30px; - overflow: hidden; .card-item-box { position: relative; @@ -15,10 +14,15 @@ overflow: hidden; } + .carousel-wrap { + position: relative; + overflow: hidden; + } + .ant-empty { - width: 100%; - min-height: 100px; - padding-top: 15px; + position: absolute; + top: calc(50% - 34px); + left: calc(50% - 92px); .ant-empty-image { height: 60px; @@ -53,6 +57,9 @@ } .mk-carousel-modal { + .ant-modal-body { + padding: 20px; + } .ant-modal-close-x { width: 40px; height: 40px; -- Gitblit v1.8.0