mirror of
https://github.com/typst/typst
synced 2025-05-14 04:56:26 +08:00
Make figure block unbreakable
This commit is contained in:
parent
1283f6b20f
commit
74ab0309f0
@ -100,6 +100,7 @@ impl Show for FigureNode {
|
||||
|
||||
Ok(BlockNode::new()
|
||||
.with_body(Some(realized))
|
||||
.with_breakable(false)
|
||||
.pack()
|
||||
.aligned(Axes::with_x(Some(Align::Center.into()))))
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user