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

[Feature] Variable column width in PDF output #31

Open
fraserbennett opened this issue Dec 14, 2022 · 2 comments
Open

[Feature] Variable column width in PDF output #31

fraserbennett opened this issue Dec 14, 2022 · 2 comments

Comments

@fraserbennett
Copy link

Background
Side-by-side presentations of text and images are more effective in training presentation contexts. The texts accompanying images frequently require less vertical space than the images.

Problem

  • Images in columns that are not equal-width are rendered full-width in PDF output. (Images in one of two equal-width columns are rendered properly.)

Desired behavior
Respect the column widths specified in the Notion authoring environment in PDF output.

Screenshots
Notion editing environment:
Columns editing
PDF output:
no columns

@andrew-polk andrew-polk self-assigned this Dec 20, 2022
@andrew-polk andrew-polk removed their assignment Jan 11, 2023
@hatton
Copy link
Member

hatton commented Jul 31, 2023

At root, this isn't actually a Screen vs. PDF issue. If you make your browser window thinner, you will see the same thing. What's happening is that the PDF is not as wide as your screen, so the responsive stylesheet runs out of room and correctly places the item in the second column below the first.

You can also see the problem go away if you tell the Print to PDF to reduce by 80% (with A4).

Probably there is a CSS improvement that could make this happen less often with A4 or letter pages.

@fraserbennett
Copy link
Author

fraserbennett commented Sep 7, 2023 via email

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

3 participants