diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-11-29 13:12:50 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-11-29 13:12:50 +0100 |
| commit | cae60ea0cc818b570435c92d081f734109c9c52e (patch) | |
| tree | fa1711ce7a156f645b70c45d8eba37294e8a449c /tests/typ/layout | |
| parent | e36b8ed374423816876273f30b77eee38cb8b74c (diff) | |
Go back to wrapping inline nodes
Diffstat (limited to 'tests/typ/layout')
| -rw-r--r-- | tests/typ/layout/align.typ | 2 | ||||
| -rw-r--r-- | tests/typ/layout/pad.typ | 2 | ||||
| -rw-r--r-- | tests/typ/layout/placed.typ | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/typ/layout/align.typ b/tests/typ/layout/align.typ index 4a50d3dc..13b88ac1 100644 --- a/tests/typ/layout/align.typ +++ b/tests/typ/layout/align.typ @@ -10,7 +10,7 @@ #align(center + horizon, rect(fill: eastern, height: 10pt)) #align(bottom, stack( align(center, rect(fill: conifer, height: 10pt)), - rect(fill: forest, height: 10pt), + rect(fill: forest, height: 10pt, width: 100%), )) --- diff --git a/tests/typ/layout/pad.typ b/tests/typ/layout/pad.typ index 2a91d1ca..1fa0f79d 100644 --- a/tests/typ/layout/pad.typ +++ b/tests/typ/layout/pad.typ @@ -11,7 +11,7 @@ ) ) -Hi #pad(left: 10pt)[A] there +Hi #box(pad(left: 10pt)[A]) there --- // Pad can grow. diff --git a/tests/typ/layout/placed.typ b/tests/typ/layout/placed.typ index da56ae2d..334ff80d 100644 --- a/tests/typ/layout/placed.typ +++ b/tests/typ/layout/placed.typ @@ -9,10 +9,10 @@ Unfortunately, \ the line breaks still had to be inserted manually. #stack( - rect(fill: eastern, height: 10pt), + rect(fill: eastern, height: 10pt, width: 100%), place(right, dy: 1.5pt)[ABC], rect(fill: conifer, height: 10pt, width: 80%), - rect(fill: forest, height: 10pt), + rect(fill: forest, height: 10pt, width: 100%), ) #block[ |
