From 8f78c97ffcde201e2a4d1ffa7ccb97a13f0f045d Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 18 四月 2024 15:34:15 +0800 Subject: [PATCH] 2024-04-18 --- src/menu/components/carousel/prop-card/index.scss | 40 ++++++++-------------------------------- 1 files changed, 8 insertions(+), 32 deletions(-) diff --git a/src/menu/components/carousel/prop-card/index.scss b/src/menu/components/carousel/prop-card/index.scss index a21b98f..6c50965 100644 --- a/src/menu/components/carousel/prop-card/index.scss +++ b/src/menu/components/carousel/prop-card/index.scss @@ -7,17 +7,7 @@ background-size: cover; min-height: 30px; - .card-control { - position: absolute; - top: 0px; - left: 0px; - .anticon-tool { - right: auto; - left: 1px; - padding: 1px; - } - } - .anticon-tool { + >.anticon-tool { position: absolute; z-index: 2; font-size: 16px; @@ -29,7 +19,7 @@ } .card-item { - overflow: hidden; + // overflow: hidden; position: relative; background-position: center center; background-repeat: no-repeat; @@ -48,6 +38,10 @@ } } .ant-carousel { + height: 100%; + .slick-slider { + height: 100%; + } .slick-dots li button { background: #1890ff; } @@ -62,31 +56,13 @@ right: -30px; font-size: 16px; } - .model-menu-action-list { - line-height: 40px; - .ant-row > .anticon-plus { - position: absolute; - right: -30px; - font-size: 16px; - } - } - .card-add-button { - text-align: right; - clear: left; - .anticon-plus { - font-size: 20px; - color: #26C281; - padding: 5px; - margin-right: 10px; - } - } } -.menu-prop-card-edit-box::after { +.menu-prop-carousel-edit-box::after { display: block; content: ' '; clear: both; } -.menu-prop-card-edit-box:hover { +.menu-prop-carousel-edit-box:hover { z-index: 1; box-shadow: 0px 0px 4px #1890ff; } -- Gitblit v1.8.0