summaryrefslogtreecommitdiff
path: root/crates/typst-library/src/layout/columns.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/typst-library/src/layout/columns.rs')
-rw-r--r--crates/typst-library/src/layout/columns.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-library/src/layout/columns.rs b/crates/typst-library/src/layout/columns.rs
index 961bedc5..bf111506 100644
--- a/crates/typst-library/src/layout/columns.rs
+++ b/crates/typst-library/src/layout/columns.rs
@@ -100,7 +100,7 @@ impl Layout for ColumnsElem {
// case, the frame is first created with zero height and then
// resized.
let height = if regions.expand.y { region.y } else { Abs::zero() };
- let mut output = Frame::new(Size::new(regions.size.x, height));
+ let mut output = Frame::hard(Size::new(regions.size.x, height));
let mut cursor = Abs::zero();
for _ in 0..columns {