feat: PC端表格斑马纹

This commit is contained in:
hzm
2026-03-13 22:44:40 +08:00
parent b8f3af4486
commit 9ac773f0c2
2 changed files with 27 additions and 5 deletions

View File

@@ -460,8 +460,9 @@ body::before {
background: #e2e8f0;
}
[data-theme="light"] .table-row-scroll:nth-child(even) {
background: var(--table-row-alt-bg);
[data-theme="light"] .table-row-scroll:nth-child(even),
[data-theme="light"] .table-row-scroll.row-even {
background: var(--table-row-alt-bg) !important;
}
[data-theme="light"] .table-fixed-row.row-hovered {
@@ -1414,8 +1415,9 @@ input[type="number"] {
background: rgba(255, 255, 255, 0.08);
}
.table-row-scroll:nth-child(even) {
background: var(--table-row-alt-bg);
.table-row-scroll:nth-child(even),
.table-row-scroll.row-even {
background: var(--table-row-alt-bg) !important;
}
.table-fixed-row.row-hovered {