I have used mat-paginator in my project and wanted to reduce size of pagination arrows without using ng-deep
screenshot of mat-paginator result
Currently I am able to do it with following code:
::ng-deep .mat-paginator-icon {
width: 3vh;
margin-top: -0.5vh;
}
But have to do it without using ng-deep! Any suggestions?
I tried encapsulation: ViewEncapsulation.None and achieved results but that's affecting/disordering other UI features on that web page
add some class to your mat-paginator something like
then in your global
style.cssuse this class to apply styles