Open binsarjr opened 1 year ago
I Have code looks like this
<section class="p-[20px] md:p-[75px]"> <h1 class="text-xl font-bold">Cetak Kategori Umum</h1> {#if images.length == 0} <p>Sedang mengunduh semua gambar...</p> {:else} <PrintPdf {print}> <Page> {#each images as image} <img src={image.src} alt="" /> {/each} </Page> </PrintPdf> {/if} </section>
When print set to true and package running window.print padding on section as parent child still exist. its annoying
true
window.print
I Have code looks like this
When print set to
true
and package runningwindow.print
padding on section as parent child still exist. its annoying