In my angular 6 app. There are many components I have created. For display data I have used ng2-smart-table.
I have some specific requirement to hide default pagination bar. And display custom pagination.
For that I have just set css in component's SCSS file.
::ng-deep .ng2-smart-pagination-nav {
display: none
}
But this is also affects in all other components also.
Till I know and RND on that, In angular we used each component has their each scss file. So my question is why this css affect to all other component also? And how to prevent in this issue ?