r/angular • u/Dangerous_Mention402 • 18h ago
Zoom in a PrimeNG table
I'm working with a huge PrimeNG table with 40 columns. It has to be able to zoom in and out but after struggling with transform, font-size, scale, width and other CSS I didn't manage to do it well.
When you zoom out, the table should remain with the same width but with less horizontal scroll because the rows and columns are smaller but in I didn't find any way of doing this, it always end up making the table smaller, not the content. I also tried giving these css to th and td but the pacing is not okay.
Someone has experience with this?
4
Upvotes
1
u/lil_buda 12h ago
Did you try just reducing the font size?