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 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 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? |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
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.