ui: added subtle tint for alternating rows on tables

This commit is contained in:
2026-03-14 11:09:32 +02:00
parent 15c419b7bf
commit dd607a04a1
12 changed files with 28 additions and 26 deletions

View File

@@ -163,7 +163,7 @@ export default function OrderList() {
className="cursor-pointer"
style={{
borderBottom: index < orders.length - 1 ? "1px solid var(--border-secondary)" : "none",
backgroundColor: hoveredRow === o.id ? "var(--bg-card-hover)" : "transparent",
backgroundColor: hoveredRow === o.id ? "var(--bg-card-hover)" : index % 2 === 1 ? "var(--bg-row-alt)" : "transparent",
}}
onMouseEnter={() => setHoveredRow(o.id)}
onMouseLeave={() => setHoveredRow(null)}