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

Wrong random page breaks #4

Open
TRMSC opened this issue Apr 4, 2022 · 0 comments
Open

Wrong random page breaks #4

TRMSC opened this issue Apr 4, 2022 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@TRMSC
Copy link
Owner

TRMSC commented Apr 4, 2022

Dependent on QR-code and page settings, page breaks could be within grid items:

grafik

Some attempts for possible solutions

1. Detaching the grid layout by changeing css. The problem with this approach is a wrong arrangement of the grid items...

.code {
word-break: break-all;
break-inside: avoid;
}
#codes {
display: block;
text-align: center;
column-gap: 2em;
columns: 150px;
}

2. Maybe it's another solution to give predefined settings for paper formats. By using javascript a correct arrangement could be calculated and realized by changeing margin.

3. Include a javascript pdf library: Which lightweight and opensource library could come into question?

4. Another way...?

@TRMSC TRMSC added the help wanted Extra attention is needed label Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant