-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
bugSomething isn't workingSomething isn't workinglayoutRelated to the layout category, which is about composing, positioning, etc.Related to the layout category, which is about composing, positioning, etc.
Description
Description
I want to put some code in a block with background color. But I found that sometimes, at the end of a page, there would be a block with color but no content. It looks weird. I'm not sure if this is a bug, but blocks containing normal text don't seem to cause this problem.
A example:
#show raw.where(block: true): it => [
#block(fill: luma(230), inset: 10pt, width: 100%)[
#it
]
]
#lorem(630)
```rust
fn main() {
println!("Hello, world!");
}
```typst version: 0.10.0 (70ca0d2)
Reproduction URL
No response
Operating system
Linux
Typst version
- I am using the latest version of Typst
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinglayoutRelated to the layout category, which is about composing, positioning, etc.Related to the layout category, which is about composing, positioning, etc.
