We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
2023 / 09 / 21
TIL: Set page margins to 0 on print preview
2023 / 09 / 21
How to remove page margins when printing
frontend
css
Just add this CSS code to your app:
@media print {
@page {
margin: 0;
}
}
Print preview:
Default margins | No margins |