You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my CSS I'm using the calc() function - for example "height: calc(100% - 30px);".
I noticed that some parts of our website are messed up, and after turning off RequestReduce the layout becomes normal.
After a brief investigation I found that everywhere the calc() function is used, a space after the '%' is removed, so the above example becomes "height: calc(100%- 30px);" (note that there's no space following the '%' sign), and this breaks the function, as you must have the spaces surrounding the operator.
I still have this problem here in 2019. I don't have AjaxMin in my project, and installing it didn't help. I've also tried reinstalling RR, but that didn't help either. Does anybody have any suggestions to how I might fix this?
In my CSS I'm using the calc() function - for example "height: calc(100% - 30px);".
I noticed that some parts of our website are messed up, and after turning off RequestReduce the layout becomes normal.
After a brief investigation I found that everywhere the calc() function is used, a space after the '%' is removed, so the above example becomes "height: calc(100%- 30px);" (note that there's no space following the '%' sign), and this breaks the function, as you must have the spaces surrounding the operator.
http://www.w3.org/TR/css3-values/#calc
The text was updated successfully, but these errors were encountered: