matthewp/position--sticky-

Doesn't like @media selectors when parsing your css.

Closed this issue · 3 comments

Hi, sticky throws the following error when I am using @meda tags in my css files. Without them it seems to run like normal.

Uncaught SyntaxError: Failed to execute 'querySelectorAll' on 'Document': '} @media screen and (max-width: 960px)' is not a valid selector.

This is a duplicate of #11 Pull request is welcome.

My apologies for not checking the existing issues.

No problem.