summaryrefslogtreecommitdiff
path: root/tests/typ/bugs/grid-1.typ
blob: c583cfe586827b5e27b85da4b9b0403b7f349638 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Test that grid base for auto rows makes sense.

---
#set page(height: 150pt)
#table(
  columns: (1.5cm, auto),
  rows: (auto, auto),
  rect(width: 100%, fill: red),
  rect(width: 100%, fill: blue),
  rect(width: 100%, height: 50%, fill: green),
)

---
#rect(width: 100%, height: 1em)
- #rect(width: 100%, height: 1em)
  - #rect(width: 100%, height: 1em)