fix(components): [collapse-item] missing box-sizing (#23482)

* fix(components): [collapse] header box-sizing

* chore: use include

* chore: fix scss

* Remove empty line in collapse.scss
This commit is contained in:
snowbitx
2026-01-20 11:45:04 +08:00
committed by GitHub
parent 5432ab67b0
commit 4e5368eda2

View File

@@ -9,6 +9,7 @@
cursor: not-allowed;
}
}
@include e(header) {
width: 100%;
padding: 0;
@@ -25,9 +26,12 @@
font-weight: 500;
transition: border-bottom-color getCssVar('transition-duration');
outline: none;
box-sizing: border-box;
@include e(arrow) {
transition: transform getCssVar('transition-duration');
font-weight: 300;
@include when(active) {
transform: rotate(90deg);
}
@@ -41,6 +45,7 @@
&.focusing:focus:not(:hover) {
color: getCssVar('color-primary');
}
@include when(active) {
border-bottom-color: transparent;
}