rockey icon indicating copy to clipboard operation
rockey copied to clipboard

@media gets overridden by default styles

Open mlshv opened this issue 7 years ago • 1 comments

This code

Button {
  display: block;
  
  @media screen and (min-width: 48rem) {
    display: none;
  }
}

gets parsed into

@media screen and (min-width: 48rem) {
    .__Button__hash__ {
        display: none;
    }
}

.__Button__hash__ {
    display: block;
}

which results in display: block on any screen, because @media gets overridden by .__Button__hash__

mlshv avatar Dec 02 '17 19:12 mlshv

sorry for long reply.

will fix this and a lot of other bugs in next release (~ 8 - 12 Oct)

tuchk4 avatar Dec 04 '17 18:12 tuchk4