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

site title/logo extends beyond menu toggle and search button not visible on mobile view #2715

Open
1 task
techfg opened this issue Dec 17, 2024 · 0 comments · May be fixed by #2722
Open
1 task

site title/logo extends beyond menu toggle and search button not visible on mobile view #2715

techfg opened this issue Dec 17, 2024 · 0 comments · May be fixed by #2722

Comments

@techfg
Copy link
Contributor

techfg commented Dec 17, 2024

What version of starlight are you using?

0.30.2

What version of astro are you using?

5.0.8

What package manager are you using?

npm

What operating system are you using?

linux

What browser are you using?

chrome, firefox

Describe the Bug

When the site title or logo (or both) are long, they extend beyond the viewport resulting in the menu toggle appearing on top of it and also the search icon not being visible.

Desktop View
image

Mobile View - Actual
image

Mobile View - Expected
image

Additional Information
The menu button is positioned fixed which takes it out of the flow of flexbox when determining the available space for the header so flexbox thinks it has more space than it really does.

Link to Minimal Reproducible Example

https://stackblitz.com/edit/withastro-starlight-sdx36mum

Participation

  • I am willing to submit a pull request for this issue.
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

Successfully merging a pull request may close this issue.

1 participant