Height of grid in a custom component

That works fine if the Datagrid is directly in the splitter but it doesn't work if the datagrid is inside a custom component. Setting a style attribute of the components doesn't have any effect.

the only way i could get teh custom compoent and its child DG to resize was to add

.content{
height:100%;
}

to my top level custom style sheet.

I tried this CSS Isolation not working with Radzen components - #11 by deadlydog

but couldn't get it to work.

It works but it feels that by putting the CSS at this level i may run into problems elsewhere.