Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Printing from Chrome adds some noise + involves content truncation #53

Open
2 tasks done
sskras opened this issue Apr 11, 2021 · 0 comments
Open
2 tasks done

Printing from Chrome adds some noise + involves content truncation #53

sskras opened this issue Apr 11, 2021 · 0 comments

Comments

@sskras
Copy link

sskras commented Apr 11, 2021

(coming from @nikoheikkila and the nikoheikkila/cv fork)

I tried printing the CV to PDF on my ChromeOS (ChromeBook), and I guess something is wrong and truncated in the Preview:

image

Attached the file: Hi, I'm Niko ☕.pdf

I used following print settings in the browser:

  • Margins: None
  • Options:
    • Headers and Footers
    • Background graphics

Then IMO it add some unnecessary content like the logo / Title Container.
Maybe even the <header> is unnecessary here, not sure.

For the reference:
if I try printing document rendered in the jbt/markdown-editor, it passes only around a half of all the HTML to the browser for printing:

image

It looks to me that only one <div> out of four is passed to the print. It is some CSS or JS magic, no ideas so far (haven't investigated).

It would be nice to pass only <div class="... page-content"> in our case, I think.

It this should be a separate issue, please tell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant