@global is not working
Open
- Dominant language
- JavaScript
- Stars
- 214
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
demo: https://codesandbox.io/s/async-sky-5xyhv
body doesn't have a lightblue background as expected
```jsx
import React from "react";
import ReactDOM from "react-dom";
import styled from 'styled-jss';
function App(props) {
return (
Hello CodeSandbox
Start editing to see some magic happen!
);
}
const StyledApp = styled(App)({
border: '1px solid red',
'@global': {
body: {
backgroundColor: 'lightblue'
}
}
})
const rootElement = document.getElementById("root");
ReactDOM.render(, rootElement);
```
styled-jss: 2.2.3
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.