Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
pagedjs
pagedjs
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 153
    • Issues 153
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 11
    • Merge Requests 11
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Tools
  • pagedjspagedjs
  • Issues
  • #22

Closed
Open
Opened May 07, 2018 by julien@julientaq
  • Report abuse
  • New issue
Report abuse New issue

Page break doesnt seem to work

When testing the book.css for the lumino collection, i used my chain.scss file which only take care of the chain of elements (using + CSS selector).

This is the selector that break pagedjs:

h1 + p
h2 + p
h3 + p
h4 + p
h5 + p
h6 + p {
  page-break-before: avoid; 
} 

What happens is that the break-before: avoid is passed to all elements after the h3 + p. This means that the content cannot be rendered as everything tries to stay connected to its previous element.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: tools/pagedjs#22