-
Notifications
You must be signed in to change notification settings - Fork 265
Open
Description
Do you want to request a feature or report a bug?
Report a bug
What is the current behavior?
Hi, i have specific case for my app. I want to add content of css files inside styled-jsx tags, eg
import style1 from './style1.css?inline';
<style jsx global>
{style1}
</style>
for dynamic style isolation.
However i cannot add 2 style tags inside component. Styles applied only from first style
tag.
If the current behavior is a bug, please provide the steps to reproduce and possibly a minimal demo or testcase in the form of a Next.js app, CodeSandbox URL or similar
What is the expected behavior?
I can add multiple style
tags inside component and correctly display style overrides.
Environment (include versions)
- Version of styled-jsx (or next.js if it's being used):
"styled-jsx": "5.1.6"
- Browser: chrome last version
- OS: windows 11
Did this work in previous versions?
no idea
Metadata
Metadata
Assignees
Labels
No labels