From 712c00ecb72b67da2c0788e5d3eb4dcc6366b2a7 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Fri, 8 Apr 2022 15:08:26 +0200 Subject: Em units --- tests/typ/style/construct.typ | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/typ/style/construct.typ') 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])] -- cgit v1.2.3