summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/typst/src/layout/grid/cells.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/typst/src/layout/grid/cells.rs b/crates/typst/src/layout/grid/cells.rs
index 2e788d34..64234aaf 100644
--- a/crates/typst/src/layout/grid/cells.rs
+++ b/crates/typst/src/layout/grid/cells.rs
@@ -411,8 +411,8 @@ impl<'a> CellGrid<'a> {
let mut footer: Option<(usize, Span, Footer)> = None;
let mut repeat_footer = false;
- // Resolve the breakability of a cell, based on whether or not it spans
- // an auto row.
+ // Resolves the breakability of a cell. Cells that span at least one
+ // auto-sized row or gutter are considered breakable.
let resolve_breakable = |y, rowspan| {
let auto = Sizing::Auto;
let zero = Sizing::Rel(Rel::zero());