Skip to content

Commit 59f1995

Browse files
authored
refactor(Table): update table layout logic (#8009)
1 parent 6baa850 commit 59f1995

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/BootstrapBlazor/Components/Table/Table.razor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public partial class Table<TItem> : ITable, IModelEqualityComparer<TItem> where
9090
.AddClass("table-excel", IsExcel)
9191
.AddClass("table-bordered", IsBordered)
9292
.AddClass("table-striped table-hover", IsStriped)
93-
.AddClass("table-layout-fixed")
93+
.AddClass("table-layout-fixed", IsFixedHeader || AllowResizing)
9494
.AddClass("table-draggable", AllowDragColumn)
9595
.Build();
9696

0 commit comments

Comments
 (0)