From 246fe1ec5c18a176abfd6b179b8fe0c42cfa51a3 Mon Sep 17 00:00:00 2001 From: Mike <1576271227@qq.com> Date: Fri, 5 Jul 2024 17:42:38 +0800 Subject: [PATCH] =?UTF-8?q?feat(collapse):=20collapse-pannel=E4=B8=8A?= =?UTF-8?q?=E7=9A=84border-less=E6=A0=B7=E5=BC=8F=E7=94=9F=E6=95=88=20(#18?= =?UTF-8?q?26)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(collapse): collapse-pannel上的border-less样式生效 * refactor: use borderless --- style/web/components/collapse/_index.less | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/style/web/components/collapse/_index.less b/style/web/components/collapse/_index.less index d5c5901298..566f4cf7cf 100644 --- a/style/web/components/collapse/_index.less +++ b/style/web/components/collapse/_index.less @@ -65,6 +65,17 @@ &__wrapper { overflow: hidden; + &.@{prefix}--borderless { + .@{collapse-panel-cls}__header { + border-bottom: none; + } + + .@{collapse-panel-cls}__body { + background: @bg-color-container; + border: none; + } + } + .@{collapse-panel-cls}__header { padding: @collapse-panel-header-padding; border-bottom: @collapse-border-size;