You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an epub that has each chapter wrapped in a section with the property page-break-after: always, but several of the chapters are getting rendered starting in the middle of the page.
Chapter V is the first chapter that is getting rendered mid page for me.
See #261. page-break-after: always only works in paged media. In multicolumn layout, which Epub.js uses, the only way to force column breaks is replacing page-break-after: always with break-after: column (or -webkit-column-break-after: always). (But then you would no longer get page breaks when printing. AFAIKT, browsers don't support break-after: always or all, which is unfortunate.)
I have an epub that has each chapter wrapped in a section with the property page-break-after: always, but several of the chapters are getting rendered starting in the middle of the page.
Chapter V is the first chapter that is getting rendered mid page for me.
epub file: https://epubs.bookroo.com/happy-jack.epub
The text was updated successfully, but these errors were encountered: