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

Cannot apply background image to body element #141

Open
g0dzcsgo opened this issue Jan 18, 2024 · 1 comment
Open

Cannot apply background image to body element #141

g0dzcsgo opened this issue Jan 18, 2024 · 1 comment

Comments

@g0dzcsgo
Copy link

Describe the bug

I just downloaded the newest boilerplate provided on your guys website, and now in the newer version I cannot for some reason apply a image to the body element in the index.css. It will just remain white-screen.

Your Example Website or App

https://stackblitz.com/edit/solidjs-templates-5unsdg?file=src%2Findex.css

Steps to Reproduce the Bug or Issue

It works in the stackblitz, but when I use the "npx degit solidjs/templates/ts nui " install command on my local machine and try to use the background-image property on the body selector inside the index.css it will not work. The background-color property works fine.

(Yes I tried it on a fresh boilerplate, same result)

Expected behavior

I expect it to change the background so I don't get blinded by a flashbang...

Screenshots or Videos

image

Platform

  • OS: [e.g. macOS, Windows, Linux] Windows
  • Browser: [e.g. Chrome, Safari, Firefox] Chrome
  • Version: [e.g. 91.1]

Additional context

No response

@ryansolid
Copy link
Member

ryansolid commented Jan 19, 2024

Hmm.. the chance that this is Solid specific given it works in Stackblitz and is in CSS is fairly unlikely. It points at a difference in environment which is more likely related to the local computer/resource being fetched or on the bundling side. I will move this to the templates repo.

@ryansolid ryansolid transferred this issue from solidjs/solid Jan 19, 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