summaryrefslogtreecommitdiff
path: root/tests/typ/layout/container-fill.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/layout/container-fill.typ')
-rw-r--r--tests/typ/layout/container-fill.typ7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/typ/layout/container-fill.typ b/tests/typ/layout/container-fill.typ
new file mode 100644
index 00000000..ab5913ab
--- /dev/null
+++ b/tests/typ/layout/container-fill.typ
@@ -0,0 +1,7 @@
+#set page(height: 100pt)
+#let words = lorem(18).split()
+#block(inset: 8pt, fill: aqua, stroke: aqua.darken(30%))[
+ #words.slice(0, 12).join(" ")
+ #box(fill: teal, outset: 2pt)[incididunt]
+ #words.slice(12).join(" ")
+]