From 5caed1ce403bb9a02b23c21c8c1e16e428305297 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=BB=8B=E6=BB=8B?= Date: Tue, 9 Jul 2024 22:03:28 +0800 Subject: [PATCH] Fix: DataTable Frozen Columns the headers of fixed columns will overlap. --- packages/primevue/src/datatable/style/DataTableStyle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/primevue/src/datatable/style/DataTableStyle.js b/packages/primevue/src/datatable/style/DataTableStyle.js index 3bec64242..236c1617b 100644 --- a/packages/primevue/src/datatable/style/DataTableStyle.js +++ b/packages/primevue/src/datatable/style/DataTableStyle.js @@ -31,7 +31,7 @@ const theme = ({ dt }) => ` .p-datatable-scrollable .p-datatable-frozen-column { position: sticky; - background: inherit; + background: ${dt('datatable.header.cell.background')}; } .p-datatable-scrollable th.p-datatable-frozen-column {