I succeed to change the color of a row in a MudBlazor table related to table items condition (followed link). But, when the navigator is in a small size, no background color is affected (white).
<MudTable ... RowClassFunc="@SelectedRowClassFunc">
...
</MudTable
private string RowStyleFunc(CommandeDTO cmd, int index)
{
if (cmd != null && cmd.GetEtatCommande() == EnumEtatTable.Prete)
return "background-color:#FFCDD2";
if (cmd != null && cmd.GetEtatCommande() == EnumEtatTable.EnAttente)
return "background-color:#FFECB3";
return "background-color:blue";
}
How to make this condition affect small sizes and mobile navigation?