diff --git a/packages/amis-ui/scss/components/form/_checks.scss b/packages/amis-ui/scss/components/form/_checks.scss index a94cf5daf..e116a38af 100644 --- a/packages/amis-ui/scss/components/form/_checks.scss +++ b/packages/amis-ui/scss/components/form/_checks.scss @@ -137,12 +137,12 @@ } &[disabled] + i { - border-color: var(--Checkbox-onDisabled-color); + border-color: var(--Checkbox-color) !important; cursor: not-allowed; - + background-color: var(--checkbox-checkbox-disabled-bg-color); &:before { - width: var(--Checkbox-inner-size); - height: calc(var(--Checkbox-inner-size) / 2); + background-color: var(--Checkbox-onDisabled-color); + border-width: 0; } } @@ -285,6 +285,7 @@ &:before { border-color: var(--Checkbox-onDisabled-color); background: var(--Checkbox-onDisabled-bg); + border-width: 0 0 px2rem(1px) px2rem(1px); } }