Not a bug CSS calc() function not working properly

Aivaras

Well-known member
Affected version
2.1.3
In XF, something like:
CSS:
width: calc(100% - 10px);
results in:
CSS:
width: calc(90%);
Tested on Firefox and Chrome.

That is to say, the "px" value is parsed as "%" when performing the calculation.
 
Top Bottom