Skip to content

Commit

Permalink
fix: 折叠器(collapse)箭头显示异常 Close: #10564 (#10861)
Browse files Browse the repository at this point in the history
Co-authored-by: jinye <[email protected]>
  • Loading branch information
CheshireJCat and jinye authored Sep 2, 2024
1 parent a64b0e4 commit 3b5be81
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/amis-ui/scss/components/_collapse.scss
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,10 @@
transform: rotate(var(--collapse-icon-rotate));
}

&--title-bottom.is-active &-arrow {
&--title-bottom.is-active
> .#{$ns}Collapse-header
> .#{$ns}Collapse-arrow-wrap
> &-arrow {
top: 0;
transform: rotate(calc(-1 * var(--collapse-icon-rotate)));
}
Expand Down

0 comments on commit 3b5be81

Please sign in to comment.