Is there a way to override the CSS generated by an Angular directive? Take, for instance, when we apply the sort directive to the material data table. This can result in issues like altering the layout of the column header.
Attempting to override the CSS through styles.scss or the component's local CSS has proven ineffective, as the directive introduces an inline style that takes precedence. Even adding !important to the CSS declaration does not seem to solve the problem.
Any suggestions on how to address this?