From 79638d4bbdc140a8dca0ccfdf70ffd607d5da251 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Tue, 16 Nov 2021 12:47:14 +0100 Subject: Don't wrap already layoutable nodes into flows/pars unnecessarily --- tests/typ/layout/grid-3.typ | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/typ/layout/grid-3.typ') diff --git a/tests/typ/layout/grid-3.typ b/tests/typ/layout/grid-3.typ index 42d2ce97..af971875 100644 --- a/tests/typ/layout/grid-3.typ +++ b/tests/typ/layout/grid-3.typ @@ -67,9 +67,9 @@ columns: 2 * (1fr,), rows: (1fr, 2fr, auto, 1fr, 1cm), row-gutter: 10pt, - rect(height: 100%, width: 100%, fill: rgb("ff0000"))[No height], + rect(fill: rgb("ff0000"))[No height], [foo], - rect(height: 100%, width: 100%, fill: rgb("fc0030"))[Still no height], + rect(fill: rgb("fc0030"))[Still no height], [bar], [The nature of being itself is in question. Am I One? What is being alive?], [baz], -- cgit v1.2.3