From 9f9c5bb494fdf7de16992cda7d91b25d462eca18 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Mon, 13 May 2024 02:31:23 +0300 Subject: [PATCH] Fixed striped rows --- components/lib/datatable/style/DataTableStyle.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/lib/datatable/style/DataTableStyle.js b/components/lib/datatable/style/DataTableStyle.js index d424c7e3b..ca9bdd474 100644 --- a/components/lib/datatable/style/DataTableStyle.js +++ b/components/lib/datatable/style/DataTableStyle.js @@ -493,10 +493,10 @@ p-datatable-gridlines .p-datatable-tbody > tr:last-child > td { } .p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { - background: ${dt('datatable.row.striped.background')}); + background: ${dt('datatable.row.striped.background')}; } -.p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-highlight { +.p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-datatable-row-selected { background: ${dt('datatable.row.selected.background')}; color: ${dt('datatable.row.selected.color')}; }