solidjs/templates

Cannot apply background image to body element

g0dzcsgo opened this issue · 1 comments

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

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.