Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Media query not always captured when parsing Sass #12

Open
zastrow opened this issue Feb 28, 2017 · 1 comment
Open

Media query not always captured when parsing Sass #12

zastrow opened this issue Feb 28, 2017 · 1 comment

Comments

@zastrow
Copy link
Contributor

zastrow commented Feb 28, 2017

Had the following in my code. With this setup the media query was not captured setting the background color at all screen sizes, not just those under the max-width.

.element {
  @media (max-width: 600px) {
    &.modifier {
      @include brand(brand1) {
         background-color: brand-color(color2);
      }
      @include brand(brand1) {
         background-color: brand-color(color3);
      }
    }
  }
}
@zastrow
Copy link
Contributor Author

zastrow commented Mar 2, 2017

This may have more to do with the local variable and the media query together.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants