Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
1 change: 1 addition & 0 deletions src/BootstrapBlazor/Components/Table/Table.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ public partial class Table<TItem> : ITable, IModelEqualityComparer<TItem> where
.Build();

private string? LineCellClassString => CssBuilder.Default("table-cell")
.AddClass("col-line-no")
.AddClass(LineNoColumnAlignment.ToDescriptionString())
.Build();

Expand Down
6 changes: 5 additions & 1 deletion src/BootstrapBlazor/Components/Table/Table.razor.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.table-container {
.table-container {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick (bug_risk): Possible unintended Byte Order Mark in file.

It appears that an invisible character (likely a BOM) was introduced before .table-container. Confirm that this was intentional and that it doesn’t cause encoding problems in environments that might not expect it.

--bb-table-td-padding-x: .5rem;
--bb-table-td-padding-y: .5rem;
--bb-table-cardview-label-width: 30%;
Expand Down Expand Up @@ -753,6 +753,10 @@ form .table .table-cell > textarea {
padding: 6px 8px;
}

.table-excel > tbody > tr > td > .col-line-no {
padding: 7px 0;
}

.table-excel .active > td > .table-cell .form-control,
.table-excel .active > td > .table-cell .form-select {
background-color: transparent;
Expand Down