Open caub opened 4 years ago
@lttb Excuse me to ping you directly, as you're a maintainer, do you have an idea for this issue?
styled-jss uses jss-preset-default which itself uses jss-plugin-global https://github.com/cssinjs/jss/blob/master/packages/jss-preset-default/src/index.js#L25
So I wonder what makes things break, maybe updating dependencies will fix this issue
Thanks
See the second css rule object. It creates a local selector with body
as a children selector.
Ah yes indeed, thanks is it expected or a bug?
@HenriBeck do you want me to try to push a fix or is it an intended behavior (I don't think so)?
demo: https://codesandbox.io/s/async-sky-5xyhv
body doesn't have a lightblue background as expected
styled-jss: 2.2.3