diff --git a/frontend/src/crm/customers/CustomerList.jsx b/frontend/src/crm/customers/CustomerList.jsx index 95d690f..6dd3796 100644 --- a/frontend/src/crm/customers/CustomerList.jsx +++ b/frontend/src/crm/customers/CustomerList.jsx @@ -840,13 +840,14 @@ export default function CustomerList() { const gradient = rowGradient(c, direction); const rowBg = hoveredRow === c.id ? "var(--bg-card-hover)" : undefined; const zebraBase = index % 2 === 1 ? "var(--bg-row-alt)" : "transparent"; + const rowBackground = gradient + ? `${gradient}, ${zebraBase}` + : zebraBase; const rowStyle = { borderBottom: (!isLast && !(notesMode === "expanded" && hasStatus)) ? "1px solid var(--border-secondary)" : "none", - background: rowBg - ? rowBg - : gradient || zebraBase, + background: rowBg ? rowBg : rowBackground, }; const mainRow = ( @@ -892,7 +893,7 @@ export default function CustomerList() { onClick={() => navigate(`/crm/customers/${c.id}`)} style={{ borderBottom: "none", - background: subRowBg || gradient || "transparent", + background: subRowBg ? subRowBg : rowBackground, }} onMouseEnter={() => setHoveredRow(c.id)} onMouseLeave={() => setHoveredRow(null)} @@ -932,7 +933,7 @@ export default function CustomerList() { onClick={() => navigate(`/crm/customers/${c.id}`)} style={{ borderBottom: "none", - background: subRowBg || gradient || "transparent", + background: subRowBg ? subRowBg : rowBackground, }} onMouseEnter={() => setHoveredRow(c.id)} onMouseLeave={() => setHoveredRow(null)}