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

multiple responsive props return incomplete media query #8

Open
queckezz opened this issue Nov 24, 2016 · 1 comment
Open

multiple responsive props return incomplete media query #8

queckezz opened this issue Nov 24, 2016 · 1 comment

Comments

@queckezz
Copy link

Given the following props on any withAxs-wrapped component:

{
  width: [1, 2/3]
  pr: [0, 1]
}

This only generates a cxs media query for the last responsive props given:

@media screen and (min-width:40em) {
  .cxs-12406165 {
    padding-right:8px
   /** -> missing `width` here */
  }
}

I just throw this out here in case you run into it too. I'll eventually send a PR.

@pstoica
Copy link

pstoica commented Jan 9, 2017

screen shot 2017-01-09 at 6 50 41 pm

i think this library generates classes for individual rules, so it's split into two.

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

No branches or pull requests

2 participants