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 {