mirror of
https://github.com/typst/typst
synced 2025-05-15 09:35:28 +08:00
Adjust comments
Co-authored-by: Laurenz <laurmaedje@gmail.com> Update tests/typ/layout/stack.typ Co-authored-by: Laurenz <laurmaedje@gmail.com>
This commit is contained in:
parent
9bd8b7ddac
commit
6f518c1728
@ -162,7 +162,7 @@ impl FramesEntry {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// These constraints describe regions that match them.
|
/// Describe regions that match them.
|
||||||
#[derive(Debug, Copy, Clone, PartialEq)]
|
#[derive(Debug, Copy, Clone, PartialEq)]
|
||||||
pub struct Constraints {
|
pub struct Constraints {
|
||||||
/// The minimum available length in the region.
|
/// The minimum available length in the region.
|
||||||
|
@ -9,9 +9,9 @@
|
|||||||
)
|
)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
// Test overflowing stack.
|
||||||
|
|
||||||
#let rect(width, color) = rect(width: 1cm, height: 0.4cm, fill: color)
|
#let rect(width, color) = rect(width: 1cm, height: 0.4cm, fill: color)
|
||||||
// This stack overflows.
|
|
||||||
#box(height: 0.5cm, stack(
|
#box(height: 0.5cm, stack(
|
||||||
rect(3cm, forest),
|
rect(3cm, forest),
|
||||||
rect(1cm, conifer),
|
rect(1cm, conifer),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user