Within my application, I am utilizing two components that contain tab groups. The first component serves as the main page, where I have adjusted the CSS to enlarge the labels by using ViewEncapsulation.None. The second component is a dialog, and I aim to maintain its compact size while also implementing additional custom styles.
Upon opening the dialog subsequent to visiting the main page with altered styles, I have observed that all the styles are copied over. This occurrence is likely due to the fact that ViewEncapsulation.None allows the bleeding of CSS, albeit not in the manner I had initially anticipated.
My question pertains to whether there exists a method for overriding Angular Material styles without altering the ViewEncapsulation setting, thereby enabling me to keep the styling of the two components distinct and separate?