mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix(components): [checkbox] default after border color is transparent (#13402)
This commit is contained in:
@@ -167,6 +167,7 @@ $checkbox-bordered-input-width: map.merge(
|
||||
|
||||
&::after {
|
||||
transform: rotate(45deg) scaleY(1);
|
||||
border-color: getCssVar('checkbox-checked-icon-color');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -226,7 +227,7 @@ $checkbox-bordered-input-width: map.merge(
|
||||
&::after {
|
||||
box-sizing: content-box;
|
||||
content: '';
|
||||
border: 1px solid getCssVar('checkbox-checked-icon-color');
|
||||
border: 1px solid transparent;
|
||||
border-left: 0;
|
||||
border-top: 0;
|
||||
height: 7px;
|
||||
|
||||
Reference in New Issue
Block a user