From fd2eb0ceb25270e5ea738b76a2f5271e84234667 Mon Sep 17 00:00:00 2001 From: PgBiel <9021226+PgBiel@users.noreply.github.com> Date: Wed, 13 Mar 2024 05:54:36 -0300 Subject: Ensure grids have at least the given amount of rows (#3644) --- tests/ref/layout/grid-5.png | Bin 3891 -> 9301 bytes tests/typ/layout/grid-5.typ | 10 ++++++++++ 2 files changed, 10 insertions(+) (limited to 'tests') diff --git a/tests/ref/layout/grid-5.png b/tests/ref/layout/grid-5.png index a57493e4..233ebb00 100644 Binary files a/tests/ref/layout/grid-5.png and b/tests/ref/layout/grid-5.png differ diff --git a/tests/typ/layout/grid-5.typ b/tests/typ/layout/grid-5.typ index 64385f61..66272421 100644 --- a/tests/typ/layout/grid-5.typ +++ b/tests/typ/layout/grid-5.typ @@ -28,3 +28,13 @@ ], align(top)[B], ) + +--- +// Ensure grids expand enough for the given rows. +#grid( + columns: (2em, 2em), + rows: (2em,) * 4, + fill: red, + stroke: aqua, + [a] +) -- cgit v1.2.3