Skip to content

Broken note rendering for nested lists #2145

Open
@akordowski

Description

@akordowski

Describe the bug

The rendering of nested lists in notes is broken, also if the elements have links or not.
The nested lists should have the same spacing between each element.

Image

Minimal reproduction

Add the following note to a slide

<!--
Nested list with links:

- [Content](https://github.com/slidevjs/slidev)
- [Content](https://github.com/slidevjs/slidev)
  - [Content](https://github.com/slidevjs/slidev)
- [Content](https://github.com/slidevjs/slidev)

Nested list without links:

- Content
- Content
  - Content
- Content
-->

Environment

  • Slidev version: 51.5.0
  • Browser: Firefox/Chrome
  • OS: Windows 11

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions