summaryrefslogtreecommitdiff
path: root/tests/typ/style/construct.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/style/construct.typ')
-rw-r--r--tests/typ/style/construct.typ4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/typ/style/construct.typ b/tests/typ/style/construct.typ
index 8bc348a9..f01b534b 100644
--- a/tests/typ/style/construct.typ
+++ b/tests/typ/style/construct.typ
@@ -22,7 +22,7 @@
---
// The inner rectangle should also be yellow here.
// (and therefore invisible)
-[#set rect(fill: yellow);#text(100%, rect(padding: 5pt, rect()))]
+[#set rect(fill: yellow);#text(1em, rect(padding: 5pt, rect()))]
---
// The inner rectangle should not be yellow here.
@@ -30,4 +30,4 @@ A #rect(fill: yellow, padding: 5pt, rect()) B
---
// The inner list should not be indented extra.
-[#set text(100%);#list(indent: 20pt, list[A])]
+[#set text(1em);#list(indent: 20pt, list[A])]