I want to display both ascending and descending arrows for an unsorted column.
https://i.sstatic.net/1Shuw.png
.mat-sort-header-container:not(.mat-sort-header-sorted) .mat-sort-header-arrow {
opacity: 0.54 !important;
transform: translateY(0px) !important;
}
.mat-sort-header-container:not(.mat-sort-header-sorted)
.mat-sort-header-indicator {
transform: translateY(0px) !important;
}
.mat-sort-header-container:not(.mat-sort-header-sorted)
.mat-sort-header-pointer-left {
transform: rotate(-45deg) !important;
}
.mat-sort-header-container:not(.mat-sort-header-sorted)
.mat-sort-header-pointer-right {
transform: rotate(45deg) !important;
}
Here is the CSS code I am currently using that only displays a single arrow.