I have been attempting to override the css of a custom component selector, however, my attempts have been unsuccessful. I have tried using ":ng-deep" but it hasn't worked. How can I go about finding a solution for this issue?
app.component.html:
<mycustommcomp></mycustommcomp>
app.component.css:
::ng-deep mycustommcomp{
margin:2px;
overflow:unset !important;
}
mycustomcomp.component.css:
mycustommcomp{
margin:8px;
overflow:hidden !important;
}
Demo: https://stackblitz.com/edit/angular-vsdzqs?file=src/app/app.component.css