Эх сурвалжийг харах

Table: fix hover-row bgcolor of table with fixed column

Tong 8 жил өмнө
parent
commit
6e685a3f02

+ 8 - 2
packages/theme-default/src/table.css

@@ -400,8 +400,14 @@
     }
 
     @e body {
-      tr.hover-row > td {
-        background-color: var(--color-extra-light-gray);
+      tr.hover-row {
+        &, &.el-table__row--striped {
+          &, &.current-row {
+            > td {
+              background-color: var(--color-extra-light-gray);
+            }
+          }
+        }
       }
 
       tr.current-row > td {