I'm implementing a report viewer on a modal view. these are some of print styles:
@page{
margin: 5mm;
}
body{
visibility: hidden;
}
.modal-report{
width: 100%;
height: 100%;
margin: 0;
}
#report-view-container-id, #report-view-container-id *{
visibility: visible;
}
#report-view-container-id{
width: 100%;
height: 100%;
position: absolute;
top:0;
left: 0;
}
.report-view-container-letter
{
max-width: 23.59cm;
max-height: 27.94cm;
min-width: 23.59cm;
min-height: 27.94cm;
padding-right: 15px;
padding-left: 15px;
}
On firefox when I try to print works great the width is perfect but on google chrome and safari the with is around 60%. There is already a question asked 6 years ago but that say nothing.
This is a little plnkr trying to recreate my case