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 request: support for columns #226

Closed
mualala opened this issue Oct 30, 2024 · 4 comments
Closed

Feature request: support for columns #226

mualala opened this issue Oct 30, 2024 · 4 comments

Comments

@mualala
Copy link

mualala commented Oct 30, 2024

Please support columns tag, as img takes up one line and sometimes we want img and other elements to be displayed on the same line

@Aymkdn
Copy link
Owner

Aymkdn commented Oct 30, 2024

Please, provide HTML code and the expected result.

@Aymkdn Aymkdn added the waiting-for-requestor Waiting for the requestor to provide more info label Oct 30, 2024
@github-actions github-actions bot removed the waiting-for-requestor Waiting for the requestor to provide more info label Oct 30, 2024
@mualala
Copy link
Author

mualala commented Oct 30, 2024

<div style="display: flex;justify-content: start;">
    <img src="https://fastly.picsum.photos/id/1008/200/200.jpg?hmac=I0T_cpYR-61pUlB0jVB4I5B7tL0fvzN5MgslAOirM50">
    <img src="https://fastly.picsum.photos/id/866/200/300.jpg?hmac=rcadCENKh4rD6MAp6V_ma-AyWv641M4iiOpe1RyFHeI">
</div>

The above code is on one line in HTML, but it will be displayed on two lines in PDF. Now I want it to be on one line. How can it be feasible? I don't know if customTag can support it?

@Aymkdn
Copy link
Owner

Aymkdn commented Oct 30, 2024

I cannot support display:flex. The easier way, in that case, is to use a <table> and put the images in one row ‹tr>

@Aymkdn Aymkdn added the waiting-for-requestor Waiting for the requestor to provide more info label Oct 30, 2024
Copy link

github-actions bot commented Nov 3, 2024

This issue has been automatically closed because the requestor didn't provide any additional comment.

@github-actions github-actions bot closed this as completed Nov 3, 2024
@github-actions github-actions bot removed the waiting-for-requestor Waiting for the requestor to provide more info label Nov 3, 2024
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

2 participants