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

Homepage changes background color #21

Open
MrAmericanMike opened this issue Mar 9, 2023 · 1 comment
Open

Homepage changes background color #21

MrAmericanMike opened this issue Mar 9, 2023 · 1 comment

Comments

@MrAmericanMike
Copy link
Contributor

To reproduce, head to the homepage > Hover on the schedule icon > Page changes background color.

My suspect > Either this import @import url(https://bootswatch.com/5/cyborg/bootstrap.min.css); or some of the global styles defined in src/routes/schedule/+page.svelte

@MrAmericanMike
Copy link
Contributor Author

A solution could be importing the bootstrap theme in a svelte:head block instead of in the as demonstrated here https://stackblitz.com/edit/sveltejs-kit-template-default-uemxfk?file=src%2Froutes%2Fpage1%2F%2Bpage.svelte

But the CSS isn't really been preloaded in this case.

Notice that the links have data-sveltekit-preload-data tested with data-sveltekit-preload-code also but makes no difference.

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

1 participant