0

I have this scss code snippet:

@include flex(1 1 calc((1 * (100% + (2 * #{$spec_grid_outerMargin})) / 3) - #{$spec_grid_outerMargin}));

In the dev console of Edge at my local machine this is translated to:

flex: 1 1 calc((1 * (100% + (2 * 1.125rem)) / 3) - 1.125rem)

while on a dev environment (same version as local) it shows:

flex: 1 1 calc((100% + 2.25rem)/3 - 1.125rem)

and on the dev environment this is causing a layout bug. How can it be that this snippet gets interpreted in different ways?

Temani Afif
  • 245,468
  • 26
  • 309
  • 415
GarfieldKlon
  • 11,170
  • 7
  • 31
  • 33

0 Answers0