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

Styles missing when using <StarlightPage /> in .astro page. #2712

Closed
1 task
marcosmartini opened this issue Dec 17, 2024 · 1 comment
Closed
1 task

Styles missing when using <StarlightPage /> in .astro page. #2712

marcosmartini opened this issue Dec 17, 2024 · 1 comment

Comments

@marcosmartini
Copy link
Contributor

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?

Mac

What browser are you using?

Chrome

Describe the Bug

When adding a custom page to a Starlight project using Tailwind, if we import the <StarlightPage /> component into it, the styles won't load.

Sometimes the styles load at first, but break on re-load. I noticed that the built version is fine, this only seems to happen in development.

Link to Minimal Reproducible Example

https://stackblitz.com/~/github.com/marcosmartini/grubby-gravity?file=src/content/docs/index.mdx

Participation

  • I am willing to submit a pull request for this issue.
@HiDeoo
Copy link
Member

HiDeoo commented Dec 17, 2024

Thanks for your report 🙌

This seems to be a duplicate issue of this one which was initially opened in this repo and transferred to the Astro repo. I'd recommend you to follow the issue there for updates.

@HiDeoo HiDeoo closed this as not planned Won't fix, can't repro, duplicate, stale Dec 17, 2024
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

2 participants