Pārlūkot izejas kodu

fix(style): fix checkbox-checked css in dark mode

M69w 3 gadi atpakaļ
vecāks
revīzija
d3f08e37c5
2 mainītis faili ar 1 papildinājumiem un 5 dzēšanām
  1. 1 0
      src/design/ant/index.less
  2. 0 5
      src/design/theme.less

+ 1 - 0
src/design/ant/index.less

@@ -58,6 +58,7 @@ span.anticon:not(.app-iconify) {
   color: @primary-color !important;
 }
 
+.ant-checkbox-checked .ant-checkbox-inner::after,
 .ant-tree-checkbox-checked .ant-tree-checkbox-inner::after {
   border-top: 0 !important;
   border-left: 0 !important;

+ 0 - 5
src/design/theme.less

@@ -37,9 +37,4 @@ html[data-theme='light'] {
     box-shadow: 1px 0 0 0 #434343, 0 1px 0 0 #434343, 1px 1px 0 0 #434343, 1px 0 0 0 #434343 inset,
       0 1px 0 0 #434343 inset;
   }
-
-  .ant-checkbox-checked .ant-checkbox-inner::after {
-    border-top: 0;
-    border-left: 0;
-  }
 }