I'm struggling with a print button feature in my Angular 8 project. When the window is resized, the content within the print window also resizes, which is not the behavior I want. I've tried a couple of solutions, but nothing has worked so far:
1. @media print{
.divName{
zoom: 1;
}
}
2. @media print{
.divName{
height: 100%;
width: 100%;
}
}
If anyone has any suggestions or knows how to achieve what I need, I would greatly appreciate the help.
Thank you in advance for your assistance.