Skip to content

Nested task list displays as a flat list #2283

Closed
@bmaingret

Description

@bmaingret

Environment

Expected behavior

Nested task list should appear as nested.
Example: https://github.github.com/gfm/#example-280
Or as displayed : https://github.com/bmaingret/bmaingret.github.io/blob/master/_pages/now.md

Steps to reproduce the behavior

Put a nested task list in a page or post and check rendering.

Other

The following css is the reason as far as I can tell.

.task-list {
   padding: 0;
}

I have added the following after the import in main.scss on my side.

.task-list {
   padding-left: 1em;
}

Result: https://bmaingret.github.io/now/

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions