Skip to content

<details> content is not padded beneath its <summary>. #1811

Open
@RokeJulianLockhart

Description

@RokeJulianLockhart
This is paragraph 1. This is paragraph 1.

This is paragraph 2. This is paragraph 2.

<details open> <!-- the padding issue solely appears when it's open, but irrespective of whether this is determined programmatically or not -->

This is paragraph 3. This is paragraph 3.

This is paragraph 4. This is paragraph 4.

</details>

renders as

  1. Browser

    This is paragraph 1. This is paragraph 1.

    This is paragraph 2. This is paragraph 2.

    This is paragraph 3. This is paragraph 3.

    This is paragraph 4. This is paragraph 4.

  2. Screenshot

    image

Evidently, the padding is inconsistent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions