summaryrefslogtreecommitdiff
path: root/tests/typ/layout/stack-2.typ
diff options
context:
space:
mode:
authorMartin <mhaug@live.de>2021-12-22 20:37:34 +0100
committerGitHub <noreply@github.com>2021-12-22 20:37:34 +0100
commitf6c7a8292dc1ab0560408fca9d74505e9d7cf13a (patch)
treebadd3076f6146cec34c55764600df5124c408521 /tests/typ/layout/stack-2.typ
parent738ff7e1f573bef678932b313be9969a17af8d22 (diff)
parent438255519e88bb790480306b9a9b452aaf054519 (diff)
Merge pull request #51 from typst/set-rules
Set rules
Diffstat (limited to 'tests/typ/layout/stack-2.typ')
-rw-r--r--tests/typ/layout/stack-2.typ6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/typ/layout/stack-2.typ b/tests/typ/layout/stack-2.typ
index 2167f48f..f88f7a58 100644
--- a/tests/typ/layout/stack-2.typ
+++ b/tests/typ/layout/stack-2.typ
@@ -1,7 +1,7 @@
// Test fr units in stacks.
---
-#page(height: 3.5cm)
+#set page(height: 3.5cm)
#stack(
dir: ltr,
spacing: 1fr,
@@ -15,8 +15,8 @@ from #h(1fr) the #h(1fr) wonderful
World! 🌍
---
-#page(height: 2cm)
-#font(white)
+#set page(height: 2cm)
+#set text(white)
#rect(fill: forest)[
#v(1fr)
#h(1fr) Hi you! #h(5pt)