fix(components): [checkbox] default after border color is transparent (#13402)

This commit is contained in:
Xc
2023-07-02 17:24:27 +08:00
committed by GitHub
parent fbc93807de
commit 2f8f477e0d

View File

@@ -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;