Selaa lähdekoodia

feat: 更新switch的全局样式

lanjianrong 4 vuotta sitten
vanhempi
commit
824a8b0f05
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  1. 3 1
      src/global.less

+ 3 - 1
src/global.less

@@ -50,7 +50,9 @@ body,
 .ant-menu-inline .ant-menu-submenu-title {
   margin-bottom: 0;
 }
-
+.ant-switch-checked {
+  background: @primary-color;
+}
 // 修复proTable中的列设置,tree list hover效果异常
 .ant-pro-table-column-setting-list > .ant-tree .ant-tree-node-content-wrapper:hover {
   background-color: unset;