diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/issue-5160-unbreakable-pad.png | bin | 0 -> 145 bytes | |||
| -rw-r--r-- | tests/suite/layout/pad.typ | 4 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/ref/issue-5160-unbreakable-pad.png b/tests/ref/issue-5160-unbreakable-pad.png Binary files differnew file mode 100644 index 00000000..f370870a --- /dev/null +++ b/tests/ref/issue-5160-unbreakable-pad.png diff --git a/tests/suite/layout/pad.typ b/tests/suite/layout/pad.typ index 4ff9f8ec..e9830cf7 100644 --- a/tests/suite/layout/pad.typ +++ b/tests/suite/layout/pad.typ @@ -32,3 +32,7 @@ Hi #box(pad(left: 10pt)[A]) there --- issue-5044-pad-100-percent --- #set page(width: 30pt, height: 30pt) #pad(100%, block(width: 1cm, height: 1cm, fill: red)) + +--- issue-5160-unbreakable-pad --- +#set block(breakable: false) +#block(width: 100%, pad(x: 20pt, align(right)[A])) |
