Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/BootstrapBlazor/Components/Table/Table.razor.js
Original file line number Diff line number Diff line change
Expand Up @@ -744,8 +744,7 @@ const autoFitColumnWidth = async (table, col) => {

if (table.options.fitColumnWidthIncludeHeader) {
const th = col.closest('th');
const span = th.querySelector('.table-cell');
maxWidth = Math.max(maxWidth, calcCellWidth(span));
maxWidth = Math.max(maxWidth, calcCellWidth(th));
}

if (table.options.autoFitColumnWidthCallback !== null) {
Expand Down
Loading