fix(pitch-deck): use imported CSS for print styles instead of inline style tag

Inline <style> tags in React body are unreliable for @media print in
Chrome. Move all print CSS to app/pitch-print/print.css imported via
a layout.tsx — Next.js injects this as a proper <link> in <head>,
which is guaranteed to be applied before print rendering.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Sharang Parnerkar
2026-05-12 17:45:46 +02:00
parent cf18b1074a
commit fc4d5d8c56
3 changed files with 43 additions and 29 deletions
+5
View File
@@ -0,0 +1,5 @@
import './print.css'
export default function PrintLayout({ children }: { children: React.ReactNode }) {
return <>{children}</>
}