summaryrefslogtreecommitdiff
path: root/tests/typ/layout/grid-5.typ
blob: 64385f61d4fa73ae8e10e2dfa6e4979f79e7b120 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

---
// Test that trailing linebreak doesn't overflow the region.
#set page(height: 2cm)
#grid[
  Hello \
  Hello \
  Hello \

  World
]

---
// Test that broken cell expands vertically.
#set page(height: 2.25cm)
#grid(
  columns: 2,
  gutter: 10pt,
  align(bottom)[A],
  [
    Top
    #align(bottom)[
      Bottom \
      Bottom \
      #v(0pt)
      Top
    ]
  ],
  align(top)[B],
)