Force a larger page width on print #13944
Unanswered
volodymyrprokopyuk
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I've designed a CV with a mobile (up until
lg
breakpoint) and a desktop (fromlg
onwards) layouts at https://volodymyrprokopyuk.github.io/cv/. The automatic layout selection works correctly. When I try to print a CV to PDF from a desktop layout on my laptop I unexpectedly get the mobile layout for the A4 paper. When I select the A3 (larger) paper I get the expected desktop layout of a CV. How can I force the desktop layout for the A4 paper?I've tried
<body class="print:w-[1280px]">
without success: the layout is still mobile, only the text got smaller.Thank you!
Beta Was this translation helpful? Give feedback.
All reactions