Repository navigation
Is it possible to use <style> tags in the Svelte component? #48
|
I know external stylesheets aren't supported (a limitation of Satori itself), but can we use |
Answered by
matfantinel
Apr 26, 2024
Replies: 2 comments 4 replies
|
Actually, it seems to break whenever I add any element with a child, unless it has the Tailwind styles. <div>
<p>This throws an error</p>
</div>
<div tw="flex">
<p>This works</p>
</div>Is using Tailwind just pretty much mandatory? |
2 replies
|
Seems like the issue with that specific example is that, on Satori, all divs with more than one child need to have either display: flex or display: none. I'm guessing the tailwind styles do some of that automatically. |
2 replies
Answer selected by
matfantinel
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Seems like the issue with that specific example is that, on Satori, all divs with more than one child need to have either display: flex or display: none. I'm guessing the tailwind styles do some of that automatically.