Open a-kla opened 1 month ago
I don't really have nice solution for this.. Sveltekit is breaking semantics, it should be solved on Svelte side. They should remove the div and replace is by some kind of wrapping comments before and after the nodes injection so they can distinguish it from 3rd party nodes. You will be forced to use custom Sugar css and modify it yourself. Fixes for the css generation are coming shortly.
You can't use Selector
body >
in Svelte-Projects :( Read https://github.com/sveltejs/kit/discussions/7585In my Project i use a body class as workaround.