Skip to content

List and enum markers are not aligned with the baseline of the item's contents #1204

@andreasKroepelin

Description

@andreasKroepelin

Description

For a bullet list item with extra line height, the bullet point is not aligned with the text as one would expect for "usual" items.

- abc
- def #box(stroke: 1pt, inset: 3mm, baseline: 3mm)[test]
- #lorem(30)

produces:
image

As the third bullet point shows, the issue is not the total height of the item but really its line height.

Reproduction URL

No response

Operating system

Web app

Typst version

  • I am using the latest version of Typst

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinglayoutRelated to the layout category, which is about composing, positioning, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions