@media block gives syntax error
crisp-tweakers opened this issue · comments
@media (min-width: 1220px) {
div { width:auto; }
}
gives an "Syntax error in CSS: Identifier expected. Got “}” [line no: 3]"
This looks like a regression in version 8.4.0 - I'm suspecting #162
I can confirm the issue. We also had errors in @keyframes
rules.
Reverting to 8.3.0
fixed the problem.
Is there any progress with this? I tried to upgrade from 8.3.0 to latest code from composer
which claims to be be "8.4.0" even though no such version has been released yet in GitHub. That version fails to parse even simple media queries like
@media print
{
html
{
background: white;
color: black;
}
}
so I have to revert back to 8.3.0 and apply PHP 8 compatibility fixes manually.