vue-html-to-paper
vue-html-to-paper copied to clipboard
how to set the default margin to none
Browser support may vary depending on its implementation of @page (https://caniuse.com/#feat=mdn-css_at-rules_page), but you should be able to achieve this with the following in a print style for both the print window and print output.
@media print {
@page {
margin: 0;
}
}
@media screen {
body {
margin: 0;
}
}
Browser support may vary depending on its implementation of @page (https://caniuse.com/#feat=mdn-css_at-rules_page), but you should be able to achieve this with the following in a print style for both the print window and print output.
@media print { @page { margin: 0; } } @media screen { body { margin: 0; } }
https://github.com/mycurelabs/vue-html-to-paper/issues/47 also face this
Hello, are you still facing this issue? Thanks.
Hello, are you still facing this issue? Thanks.
it's still
https://www.matuzo.at/blog/i-totally-forgot-about-print-style-sheets/