Skip to content

Sorting does not work if the media is moved to two lines #6

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

Closed
movie4 opened this issue Feb 25, 2021 · 2 comments
Closed

Sorting does not work if the media is moved to two lines #6

movie4 opened this issue Feb 25, 2021 · 2 comments
Labels
investigation Need to figure it out

Comments

@movie4
Copy link

movie4 commented Feb 25, 2021

Sorting does not work if the media is moved to two lines

@media (min-width: 48em)
  and (max-width: 59.999em) {
  body {
    border: solid 10px blue;
  }
}

@media (min-width: 40em)
  and (max-width: 47.999em) {

  body {
    border: solid 10px black;
  }
}

@media (min-width: 15em)
  and (max-width: 47.999em) {
  body {
    border: solid 10px red;
  }
}

if input

@media (min-width: 48em) and (max-width: 59.999em) {
  body {
    border: solid 10px blue;
  }
}

@media (min-width: 40em)  and (max-width: 47.999em) {

  body {
    border: solid 10px black;
  }
}

@media (min-width: 15em)  and (max-width: 47.999em) {
  body {
    border: solid 10px red;
  }
}

work correct

@media (min-width: 15em) and (max-width: 47.999em) {
  body {
    border: solid 10px red
  }
}

@media (min-width: 40em) and (max-width: 47.999em) {
  body {
    border: solid 10px black
  }
}

@media (min-width: 48em) and (max-width: 59.999em) {
  body {
    border: solid 10px blue
  }
}
@OlehDutchenko OlehDutchenko added the investigation Need to figure it out label Feb 26, 2021
@OlehDutchenko
Copy link
Owner

Hello @movie4! Thanks for reporting.
Already published new patch version on npm 1.5.4

@movie4
Copy link
Author

movie4 commented Feb 26, 2021

@dutchenkoOleg — thanks a lot 👍

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

No branches or pull requests

2 participants