@media live template working wrong

Hi,

Have the @m and @media live templates. Worked well before 2020 version.

 

Abriviaton: @media

Template text:

@media only screen and (max-width: $VAR0$){
     $VAR1$
}

Genarates

@media screen {

}

after TAB keypress. What's wrong?
0

similar template works fine for me

 

You must have chosen wrong template from completion... You custom template abbreviation clashes with Emmet (zen coding) @media live template. I'd suggest to either modify the predefined template in Live Templates | Zen CSS or change your custom template abbreviation

0

请先登录再写评论。