MEH-Design / frix

A CMS based on atomic design principles.
MIT License
2 stars 1 forks source link

@media queries prevent module substitution #64

Closed MiniXC closed 7 years ago

MiniXC commented 7 years ago

When using an @media query, atom, molecule and organism selectors are not replaced.

Example

@media (min-width: 800px) {
  atom {
    /* some styles */
  }
}

compiles to

@media (min-width: 800px) {
  atom {
    /* some styles */
  }
}

instead of

@media (min-width: 800px) {
  .someatomname {
    /* some styles */
  }
}