-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
bugSomething isn't workingSomething isn't workinglayoutRelated to the layout category, which is about composing, positioning, etc.Related to the layout category, which is about composing, positioning, etc.
Description
Description
The following example renders a header at the bottom of the page followed by another header on the next page.
header orphan prevention seems to fail here.
#box(height:600pt) // enough text to reach the bottom
#grid(
grid.header(block("HELLO THIS IS HEADER",inset:2em,fill:blue)),
grid.cell(block("HI THIS IS CONTENT",inset:2em,fill:red)),
)
Here is a screenshot of the problem

Reproduction URL
No response
Operating system
Web app
Typst version
- I am using the latest version of Typst
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinglayoutRelated to the layout category, which is about composing, positioning, etc.Related to the layout category, which is about composing, positioning, etc.