Skip to content

Commit

Permalink
🐛 fix(DataTable): CellClass doesn't work on mobile (#2123)
Browse files Browse the repository at this point in the history
  • Loading branch information
capdiem authored Sep 2, 2024
1 parent c039e19 commit dfd448e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
@{
if (header.Value != "data-table-select" && !HideDefaultHeader)
{
<div class="@_block.Element("mobile-row__header")">
<div class="@_block.Element("mobile-row__header").AppendClasses(header.Class)">
@if (HeaderColContent != null)
{
@HeaderColContent(header)
Expand All @@ -22,7 +22,7 @@
}

var props = new ItemColProps<TItem>(header, Item);
<div class="@_block.Element("mobile-row__cell")">
<div class="@_block.Element("mobile-row__cell").AppendClasses(header.CellClass)">
@if (HasSlot(props))
{
@SlotContent(props)
Expand Down

0 comments on commit dfd448e

Please sign in to comment.