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
{{ message }}
Repository navigation
Consistent spacing around mathematical operators in CSS #2793
In CSS (and CSS-like languages), it would be nice if prettier could output the same consistent spacing around mathematical operators as we get in JS (a single space on each side of the operator).
Example input:
body{margin-left:calc(2em/2);}
Expected behavior:
Preferred output:
body{margin-left:calc(2em/2);}
Actual behavior:
No change between input and output
Activity
lydell commentedon Sep 12, 2017
Thanks for the issue! I'm merging this into #1811 since both issues require the same fix (implementing an arithmetic parser).
fredrikekelund commentedon Sep 12, 2017
Alright, cool! Will keep an eye on that issue then 👍