One of my components utilizes MatExpansionPanel to showcase a collection of products.
I have included some CSS code to conceal the overflow of each product's description. To view the current appearance, please refer to this stackblitz.
In an attempt to segregate the panel header into a separate child component and apply the same CSS styling, I encountered an issue where the CSS does not seem to be taking effect as intended. For further insight, please check out this stackblitz.
Could it be possible that I am making a mistake in the process? Or is it feasible that this Angular Material component is designed in a way that discourages splitting it into distinct components?