summaryrefslogtreecommitdiff
path: root/library/src/structure
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/structure')
-rw-r--r--library/src/structure/heading.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/src/structure/heading.rs b/library/src/structure/heading.rs
index 063f3c97..b251f27b 100644
--- a/library/src/structure/heading.rs
+++ b/library/src/structure/heading.rs
@@ -56,6 +56,7 @@ impl Finalize for HeadingNode {
map.set(TextNode::WEIGHT, FontWeight::BOLD);
map.set(BlockNode::ABOVE, VNode::block_around(above.into()));
map.set(BlockNode::BELOW, VNode::block_around(below.into()));
+ map.set(BlockNode::STICKY, true);
realized.styled_with_map(map)
}
}