From 89f2e71852e96062ea9b756bf92fbf4e894871b1 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Wed, 17 Nov 2021 17:09:19 +0100 Subject: Align node --- 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 82472e55..6f7f6977 100644 --- a/tests/typ/layout/grid-3.typ +++ b/tests/typ/layout/grid-3.typ @@ -24,7 +24,7 @@ row-gutter: 10pt, column-gutter: (0pt, 10%), align(top, image("../../res/rhino.png")), - align(right, rect(width: 100%, fill: eastern)[LoL]), + align(top, rect(fill: eastern, align(right)[LoL])), [rofl], [\ A] * 3, [Ha!\ ] * 3, @@ -55,7 +55,7 @@ column-gutter: (0pt, 10%), [A], [B], [C], [D], grid(columns: 2, [A], [B], [C\ ]*3, [D]), - align(right, rect(width: 100%, fill: eastern)[LoL]), + align(top, rect(fill: eastern, align(right)[LoL])), [rofl], [E\ ]*4, ) -- cgit v1.2.3