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

Export {HTML, PDF} options reduce font size, hard to read #413

Closed
ekzhang opened this issue Sep 11, 2020 · 2 comments · Fixed by #414
Closed

Export {HTML, PDF} options reduce font size, hard to read #413

ekzhang opened this issue Sep 11, 2020 · 2 comments · Fixed by #414
Labels
bug Something isn't working frontend Concerning the HTML editor publishing Notebooks as static documents on the web

Comments

@ekzhang
Copy link
Contributor

ekzhang commented Sep 11, 2020

I noticed when exporting notebooks that the exported .html and .pdf files would have very small font, which made it hard to read compared to the notebook viewed in the browser. The headings and figures remain the same size, but for some reason the font size for regular text (in rendered Markdown) and code changes.

At first I thought this was a rendering bug, but it turns out that by default font-size: 17px is set, yet for some reason, hide-ui.css overrides it to 14px.

font-size: 14px;

Is there a reason why 17px would not be preferred for text in the exported files as well?

@fonsp
Copy link
Owner

fonsp commented Sep 11, 2020

Wow no that's a mistake - well found! Thanks!

@fonsp fonsp added bug Something isn't working frontend Concerning the HTML editor labels Sep 11, 2020
@ekzhang
Copy link
Contributor Author

ekzhang commented Sep 11, 2020

Thanks for the quick reply! I'll test the changes & make a PR.

@fonsp fonsp added the publishing Notebooks as static documents on the web label Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend Concerning the HTML editor publishing Notebooks as static documents on the web
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants