Skip to content

Text content overlaps in <details> spoiler #7400

Description

@MiraculixxT

Please confirm the following.

What browsers are you seeing the problem on?

Firefox

Describe the bug

The text inside a spoiler (<details>) overlaps with the header of the spoiler and the title, when no extra empty line is given.

Image

Steps to reproduce

Add the following to the description of a project:

## Headline
<details><summary>Spoiler Title</summary>
Some text inside the spoiler that will overlap
</details>

Expected behavior

Text does not overlap

Additional context

Example project where i found the bug the first time. This was not always like this: https://modrinth.com/plugin/timer

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    websiteRelates to Modrinth.com web frontend

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions