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

Add page 2 columns layout #25

Open
iuryLandin opened this issue Mar 22, 2023 · 2 comments
Open

Add page 2 columns layout #25

iuryLandin opened this issue Mar 22, 2023 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@iuryLandin
Copy link

Is there a way to make a layout in 2 columns? As shown in the image, where the text follows the flow of the arrow, ending at the bottom of the page and starting in the next column at the top.

image

@motla
Copy link
Owner

motla commented Mar 26, 2023

Well it should be possible using CSS columns: 2; column-fill: auto; on the page but I ran some tests and apparently the split algorithm needs to be patched in order to make it work. I have no time to look at it but it is open for contribution.

@motla motla added enhancement New feature or request help wanted Extra attention is needed labels Mar 26, 2023
@mentik
Copy link

mentik commented Jan 3, 2024

I use this currently
css

.two-columns {
    column-count: 2;
    column-gap: 10px;
    padding: 0px;
    column-fill: balance;
}

.two-columns * {
    overflow-wrap: anywhere;
}

template

<div class="two-columns">
<!-- some editable html -->
</div>

But the content still not end at the end of the page for the columns.... but currently works for another case, e.g., when we only need two column in specific section of the page...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants