Commit d3f08e37c5b6e46f33d525e9ef4b4c235d77a192
Committed by
Netfan
1 parent
ee44d99c
fix(style): fix checkbox-checked css in dark mode
Showing
2 changed files
with
1 additions
and
5 deletions
src/design/ant/index.less
@@ -58,6 +58,7 @@ span.anticon:not(.app-iconify) { | @@ -58,6 +58,7 @@ span.anticon:not(.app-iconify) { | ||
58 | color: @primary-color !important; | 58 | color: @primary-color !important; |
59 | } | 59 | } |
60 | 60 | ||
61 | +.ant-checkbox-checked .ant-checkbox-inner::after, | ||
61 | .ant-tree-checkbox-checked .ant-tree-checkbox-inner::after { | 62 | .ant-tree-checkbox-checked .ant-tree-checkbox-inner::after { |
62 | border-top: 0 !important; | 63 | border-top: 0 !important; |
63 | border-left: 0 !important; | 64 | border-left: 0 !important; |
src/design/theme.less
@@ -37,9 +37,4 @@ html[data-theme='light'] { | @@ -37,9 +37,4 @@ html[data-theme='light'] { | ||
37 | box-shadow: 1px 0 0 0 #434343, 0 1px 0 0 #434343, 1px 1px 0 0 #434343, 1px 0 0 0 #434343 inset, | 37 | box-shadow: 1px 0 0 0 #434343, 0 1px 0 0 #434343, 1px 1px 0 0 #434343, 1px 0 0 0 #434343 inset, |
38 | 0 1px 0 0 #434343 inset; | 38 | 0 1px 0 0 #434343 inset; |
39 | } | 39 | } |
40 | - | ||
41 | - .ant-checkbox-checked .ant-checkbox-inner::after { | ||
42 | - border-top: 0; | ||
43 | - border-left: 0; | ||
44 | - } | ||
45 | } | 40 | } |