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/data-card/index.scss | 42 ++++-------------------------------------- 1 files changed, 4 insertions(+), 38 deletions(-) diff --git a/src/menu/components/carousel/data-card/index.scss b/src/menu/components/carousel/data-card/index.scss index b62bd6b..7bbacd7 100644 --- a/src/menu/components/carousel/data-card/index.scss +++ b/src/menu/components/carousel/data-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; @@ -47,41 +37,17 @@ 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; - } - } .ant-pagination { float: right; margin: 10px; } - - .model-menu-action-list { - .page-card { - line-height: 55px; - } - } } -.menu-carousel-edit-box::after { +.menu-data-carousel-edit-box::after { display: block; content: ' '; clear: both; } -.menu-carousel-edit-box:hover { +.menu-data-carousel-edit-box:hover { z-index: 1; box-shadow: 0px 0px 4px #1890ff; } -- Gitblit v1.8.0