mnelson4 / printmyblog

WordPress Plugin that simplifies printing your entire blog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pretty up Elementor content

mnelson4 opened this issue · comments

Elementor uses flexbox, which is OK with Prince so long as there's no page breaks in the flex container.

Columns especially use flexbox. Right now, PMB makes elementor columns inline-blocks, but that means they can't have a pagebreak inside them...

Also, dynamic imag eresizing doesn't seem to be quite working (images are just a bit too big and end up being pushed to the next page)

  • Try using actual columns instead of flexbox or inline blocks. Might need to use JS to calculate how many columns to use is all.
  • Weird spacing issue (only appears when stop using flex box)
  • columns issue: if there are images in each column, but they're not the same size, the bigger one could be bumped to the next page. SEe attachment. This could be fixed by adding no-break-before the second one
    Uploading 2022-December-17 21-35-49-849.png…