Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
RokeJulianLockhart opened this issue Jun 12, 2024 · 2 comments
Open

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

RokeJulianLockhart opened this issue Jun 12, 2024 · 2 comments

Comments

@RokeJulianLockhart
Copy link

RokeJulianLockhart commented Jun 12, 2024

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.

@RokeJulianLockhart RokeJulianLockhart changed the title <details> tag content is not padded correctly. <details> content is not padded beneath its <summary>. Jun 12, 2024
Copy link

Stale issue message

@RokeJulianLockhart
Copy link
Author

#1811 (comment)

@GitHub-Actions, what does that mean?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant