diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-02-12 22:04:27 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-02-12 22:04:27 +0100 |
| commit | fd90736fb6239409210f845a8589ba3d6b849ef3 (patch) | |
| tree | c1993400b177f35b3622cc3fdf6c0f53d805bb69 /tests/typ/layout/container.typ | |
| parent | d99359dede8f366fc16d38c6166b97a0f56fe0cb (diff) | |
Support fractional width for `box`
Diffstat (limited to 'tests/typ/layout/container.typ')
| -rw-r--r-- | tests/typ/layout/container.typ | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/typ/layout/container.typ b/tests/typ/layout/container.typ index c6928074..0b30c4e1 100644 --- a/tests/typ/layout/container.typ +++ b/tests/typ/layout/container.typ @@ -10,6 +10,10 @@ Spaced \ Apart --- +// Test fr box. +Hello #box(width: 1fr, rect(height: 0.7em, width: 100%)) World + +--- // Test block over multiple pages. #set page(height: 60pt) |
