diff --git a/components/lib/treetable/HeaderCell.vue b/components/lib/treetable/HeaderCell.vue index 8918be6a5..a53ff4f4d 100644 --- a/components/lib/treetable/HeaderCell.vue +++ b/components/lib/treetable/HeaderCell.vue @@ -13,13 +13,15 @@ :data-p-highlight="isColumnSorted()" :data-p-frozen-column="columnProp('frozen')" > - - - {{ columnProp('header') }} - - - - {{ getMultiSortMetaIndex() + 1 }} +
+ + + {{ columnProp('header') }} + + + + {{ getMultiSortMetaIndex() + 1 }} +
diff --git a/components/lib/treetable/style/TreeTableStyle.js b/components/lib/treetable/style/TreeTableStyle.js index 1288fdc43..0b7b79061 100644 --- a/components/lib/treetable/style/TreeTableStyle.js +++ b/components/lib/treetable/style/TreeTableStyle.js @@ -462,6 +462,7 @@ const classes = { } ], columnResizer: 'p-treetable-column-resizer', + columnHeaderContent: 'p-treetable-column-header-content', columnTitle: 'p-treetable-column-title', sortIcon: 'p-treetable-sort-icon', sortBadge: 'p-treetable-sort-badge',