From fc4d5d8c56ba2b513cc9bb3c17c94b2f69873074 Mon Sep 17 00:00:00 2001 From: Sharang Parnerkar <30073382+mighty840@users.noreply.github.com> Date: Tue, 12 May 2026 17:45:46 +0200 Subject: [PATCH] fix(pitch-deck): use imported CSS for print styles instead of inline style tag MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Inline - {/* Toolbar — screen only */}
{children} +} diff --git a/pitch-deck/app/pitch-print/print.css b/pitch-deck/app/pitch-print/print.css new file mode 100644 index 0000000..6c897bf --- /dev/null +++ b/pitch-deck/app/pitch-print/print.css @@ -0,0 +1,38 @@ +@media screen { + body { background: #d1d5db; } +} + +@media print { + @page { + size: A4 landscape; + margin: 0; + } + + body { + margin: 0; + -webkit-print-color-adjust: exact; + print-color-adjust: exact; + } + + .no-print { + display: none !important; + } + + .print-deck-wrapper { + padding: 0 !important; + margin: 0 !important; + } + + .print-page { + page-break-after: always !important; + break-after: page !important; + page-break-inside: avoid !important; + break-inside: avoid !important; + margin: 0 !important; + box-shadow: none !important; + width: 297mm !important; + height: 210mm !important; + display: flex !important; + flex-direction: column !important; + } +}