I am using Angular Material Table and I am trying to center all the columns
By these images I mean what I am trying to achieve and that is merely a centering of the columns. I have given a link to a StackBlitz demo, which is the one from the Offical Docs.
It would be more than enough if you manage to center the columns.
I have tried
display: flex;
justify-content: center;
, but it worked ifff I used the `
Most helpful comment
Seems like you may not be centering the sorted headers. One way to do this would be to add this styling:
If you need more help, I suggest putting together a full reproduction in Stackblitz that others can help you debug and style. I'll close this since its not an issue, but more of a troubleshooting question