We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3028387 commit 77c83ddCopy full SHA for 77c83dd
src/BootstrapBlazor/Components/Table/Table.razor.cs
@@ -877,12 +877,9 @@ private void OnInitParameters()
877
878
if (CheckboxColumnWidth == 0)
879
{
880
- CheckboxColumnWidth = op.TableSettings.CheckboxColumnWidth;
881
-
882
- if(TableSize == TableSize.Compact)
883
- {
884
- CheckboxColumnWidth = (int)(CheckboxColumnWidth * 0.8);
885
- }
+ CheckboxColumnWidth = TableSize == TableSize.Normal
+ ? op.TableSettings.CheckboxColumnWidth
+ : op.TableSettings.CheckboxColumnCompactWidth;
886
}
887
888
if (op.TableSettings.TableRenderMode != null && RenderMode == TableRenderMode.Auto)
0 commit comments