Skip to content

Commit fd31eda

Browse files
leotrsclaude
andcommitted
fix: prevent orphaned headings at bottom of page
Use set block(sticky: true) to keep headings attached to the following content, preventing headings from appearing alone at the bottom of a page. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent dae189e commit fd31eda

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

braiid/braiid.typ

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@
5656
first-line-indent: 0pt,
5757
)
5858

59+
// Prevent orphaned headings at bottom of page
60+
set block(sticky: true)
61+
5962
// Headings: Montserrat, matching braiid.css scale
6063
// Section numbers come from the RSM AST (already in the heading text)
6164
show heading.where(level: 1): it => {

0 commit comments

Comments
 (0)