I would like to give margin-left to "mat-autocomplete-panel"
I'm using this select-box component in four different component. I would like to change .mat-autocomplete-panel margin only for one of them, and i don't want to effect others.
So my question is basicly:
When i used following code all child components are affected but i would like to give margin left only one of them
::ng-deep .mat-autocomplete-panel {
margin-left: -1200px;
}
I've tried following code as well but it didn't work.
:host ::ng-deep .mat-autocomplete-panel {
margin-left: -1200px;
}
I've used cli ng g c to creating all components and they're using .scss file i've changed them to .css but it didn't work as well.
