mirror of
https://github.com/typst/typst
synced 2025-05-13 20:46:23 +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()
|
Ok(BlockNode::new()
|
||||||
.with_body(Some(realized))
|
.with_body(Some(realized))
|
||||||
|
.with_breakable(false)
|
||||||
.pack()
|
.pack()
|
||||||
.aligned(Axes::with_x(Some(Align::Center.into()))))
|
.aligned(Axes::with_x(Some(Align::Center.into()))))
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user