summaryrefslogtreecommitdiff
path: root/tests/typ/elements/square.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-11-17 17:09:19 +0100
committerLaurenz <laurmaedje@gmail.com>2021-11-17 17:09:19 +0100
commit89f2e71852e96062ea9b756bf92fbf4e894871b1 (patch)
tree836099ebd17adf30a24fc62464dfdd3d9c248480 /tests/typ/elements/square.typ
parent9a800daa82833c57eee04e92c701ca9a05a67d3b (diff)
Align node
Diffstat (limited to 'tests/typ/elements/square.typ')
-rw-r--r--tests/typ/elements/square.typ3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/typ/elements/square.typ b/tests/typ/elements/square.typ
index 3686debb..3163f872 100644
--- a/tests/typ/elements/square.typ
+++ b/tests/typ/elements/square.typ
@@ -9,8 +9,7 @@
// Test auto-sized square.
#square(fill: eastern)[
#font(fill: white, weight: "bold")
- #align(center)
- #pad(5pt)[Typst]
+ #align(center, pad(5pt)[Typst])
]
---