mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user