mb21 / panwriter

Markdown editor with pandoc integration and paginated preview.
https://PanWriter.com
GNU General Public License v3.0
1.04k stars 49 forks source link

column-count breaks page preview #8

Open GitBruno opened 5 years ago

GitBruno commented 5 years ago
body{
  column-count: 3;
}
mb21 commented 5 years ago

Thanks for the report!

I don't think there's anything I can do about this. I'm using the paged.js library for pagination, which injects some divs and some CSS do the page fragmentation. See https://www.pagedmedia.org/paged-js/

In theory, something like the following might work:

.pagedjs_page_content > div {
  column-count: 3;
}

I'll have a look later and see whether that works, or whether there is a better way.