guys, question.. I have upgraded our development t...
# suitecommerce
m
guys, question.. I have upgraded our development tools to 2024.2.10, and we got a few warnings about possible deprecations in the division operations for the next version of dart sass, for example:
(($navbar-height - $line-height-computed) / 2)
->
math.div($navbar-height - $line-height-computed, 2)
wanted to use the math.div on it, did anyone had issues like this? we fixed the code as it was recommended but netsuite it’s not compiling
w
Did you perform dart-sass updates to your theme prior to this upgrade? When was the last time you updated your theme tools? There was a required dart-sass update last year. You could run gulp check-dart-sass to run a report for the required changes, but that seems to be only with the older tools.
r
the dart-sass changes is what I was thinking as well.
s
Use this , it will work
(($navbar-height - $line-height-computed) * 0.5)