You need to sign in to do that
Don't have an account?
Tom Hanel
lightning token bundle and media query
Hi,
I'm trying to use a token in my css file eg
@media (min-width: t(mobile_screen_size)) {
.THIS .css_selector{
display:inline-block;
}
}
and the token system does not seem to support putting a token in a media query. The generated css file simply contains the unsubstituted token string in it.
If I use a token within a normal class selector it works correctly. Does anyone know if you can put a token in a media query ?
Thanks Tom.
I'm trying to use a token in my css file eg
@media (min-width: t(mobile_screen_size)) {
.THIS .css_selector{
display:inline-block;
}
}
and the token system does not seem to support putting a token in a media query. The generated css file simply contains the unsubstituted token string in it.
If I use a token within a normal class selector it works correctly. Does anyone know if you can put a token in a media query ?
Thanks Tom.
it should be like this.