mirror of
https://github.com/root-fr/jmap-webmail.git
synced 2026-09-23 16:01:15 +00:00
Newsletter-style mail is usually laid out with width="600" or style="width:640px" tables. On A4 with 12 mm margins the printable width is closer to 180 mm, so the right edge of the content was being clipped. Add print rules that cap every element in #print-overlay to max-width: 100%, let tables auto-layout, and force long URLs / single words to wrap instead of overflowing. Images, svgs, videos and canvases also get max-width: 100% with auto height so they scale down proportionally.