Skip to content

No margin between Markdown content and UI framework components #3290

@KianNH

Description

@KianNH

What version of starlight are you using?

0.34.4

What version of astro are you using?

5.11.0

What package manager are you using?

npm

What operating system are you using?

Mac

What browser are you using?

Chrome

Describe the Bug

When using UI framework components, the margin-top between elements applied by Starlight's Markdown styling does not work on the astro-island element.

Image

Link to Minimal Reproducible Example

https://stackblitz.com/edit/github-hczwebv8?file=src%2Fcontent%2Fdocs%2Findex.mdx

Participation

  • I am willing to submit a pull request for this issue.

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