瀏覽代碼

style: `vxe-button` color in hover

xiaoxian521 2 年之前
父節點
當前提交
20a1293a55
共有 2 個文件被更改,包括 3 次插入2 次删除
  1. 1 1
      src/style/dark.scss
  2. 2 1
      src/style/index.scss

+ 1 - 1
src/style/dark.scss

@@ -129,7 +129,7 @@ html.dark {
     color: var(--el-text-color-primary);
   }
 
-  .vxe-button.type--button.size--medium:hover {
+  .vxe-button.type--button:hover {
     background: var(--el-color-primary) !important;
   }
 

+ 2 - 1
src/style/index.scss

@@ -20,7 +20,8 @@
   filter: invert(80%);
 }
 
-/* 重置 vxe-table 中 pager 样式 */
+/* 重置 vxe-table 样式 */
+.vxe-button.type--button.theme--primary:hover,
 .vxe-pager .vxe-pager--num-btn:not(.is--disabled).is--active {
   color: #fff !important;
 }