Skip to content

Commit

Permalink
feat(collapse): collapse-pannel上的border-less样式生效 (#1826)
Browse files Browse the repository at this point in the history
* feat(collapse): collapse-pannel上的border-less样式生效

* refactor: use borderless
  • Loading branch information
novlan1 authored Jul 5, 2024
1 parent e54ac1f commit 246fe1e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions style/web/components/collapse/_index.less
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 246fe1e

Please sign in to comment.