DataGrid RowRender after change to .NET 7

Rendering a list of deadlines in a datagrid. If past due, I add an attribute for light red on @rowrender. Works fine in .NET 6. But same code in .NET 7 Radzen initially colors the row for a split second and then the formatting is lost to an alternating row style. Didn't know if anyone else experienced this.

Any idea how to reproduce this? Our demos are .NET 7, feel free to use them to replicate your problem and post the code here.

Sorry for the delay. In the transition from .NET 6 to .NET 7 there must have been some CSS updates to the DataGrid.I found a few --rz-grid styles in Chrome Dev F12 window that were overriding my site.css. For the same code in .NET 6 to apply conditional styling to a Datagrid row @onrowrender I had to add the following to my site.css (although I'm sure there is a better way to do this):

:root {
    --rz-grid-background-color: transparent;
}
:root {
    --rz-grid-row-alternate-background-color: transparent;
}

:root {
    --rz-grid-stripe-background-color: transparent;
}

Then my conditional styling with custom CCS from site.css worked:

    void RowRender(RowRenderEventArgs<ShowDue> args)
    {
        List<string> classes = new List<string>();

        if (args.Data.DueDate.Date < DateTime.Today)
        {
            classes.Add("row-overdue");
            
        else if (args.Data.DueDate.Date == DateTime.Today)
        {
            classes.Add("row-duetoday");
        }
        else if (args.Data.DueDate.Date > DateTime.Today)
        {
            classes.Add("row-duelater");
        }
        if (args.Data.DueCompleted == true)
        {
            classes.Add("row-dueCompleted");
        }
        if (args.Data.DueTypeId == 1)
        {
            classes.Add("row-statutory");
        }

        string classAttribute = string.Join(" ", classes);
        args.Attributes.Remove("class");
        args.Attributes.Add("class", classAttribute);
    }