summaryrefslogtreecommitdiff
path: root/tests/typ/layout
diff options
context:
space:
mode:
authorPgBiel <9021226+PgBiel@users.noreply.github.com>2024-03-13 05:54:36 -0300
committerGitHub <noreply@github.com>2024-03-13 08:54:36 +0000
commitfd2eb0ceb25270e5ea738b76a2f5271e84234667 (patch)
tree6b731b4a359eb5e1d415db87bae22079f1da779f /tests/typ/layout
parent3fd06136c27a4bbdfc7833526311313c4a87be71 (diff)
Ensure grids have at least the given amount of rows (#3644)
Diffstat (limited to 'tests/typ/layout')
-rw-r--r--tests/typ/layout/grid-5.typ10
1 files changed, 10 insertions, 0 deletions
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]
+)