Skip to content

Tab item labels visually bug out if not all labels are the same height #3383

@KTrain5169

Description

@KTrain5169

What version of starlight are you using?

0.35.2

What version of astro are you using?

5.13.2

What package manager are you using?

pnpm

What operating system are you using?

Windows

What browser are you using?

Edge (Chromium-based)

Describe the Bug

The tab label height bugs out (if the height of certain labels is more than others) and has an extra bar at the bottom of the label text, alongside the label being moved to the top of the div box where the tab labels are.

That was probably a bad explanation so you can probably visualise the issue better using the minimal reproducible example below.
(The other pages were still there because I didn't want to go through the effort of deleting them)

Link to Minimal Reproducible Example

https://stackblitz.com/astro-starlight-tabitem-minimal-reproduction

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