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
在 2019年1月30日,03:10,HuangJP ***@***.***> 写道:
具体原因详见 less issues#974
我们在引入某些第三方ui框架如bootstrap或自己进行某些计算式height: calc(2.25rem + 2px);的时候
less会将height: calc(2.25rem + 2px);直接转换为height: 4.25rem
根据issue所示,可以通过将class/Gini/Controller/CLI/Web.php中55行左右:
$command = sprintf(
'lessc %s %s %s',
escapeshellarg($src_path),
escapeshellarg($dst_path),
'--clean-css="--s1 --advanced --compatibility=ie8"'
);
exec($command);
修改为
$command = sprintf(
'lessc %s %s %s',
escapeshellarg($src_path),
escapeshellarg($dst_path),
'--clean-css="--s1 --advanced --compatibility=ie8" --strict-math=on'
);
exec($command);
就可以正常的解析,是否考虑增加web update的参数还是直接加入框架中?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
具体原因详见 less issues#974
我们在引入某些第三方ui框架如bootstrap或自己进行某些计算式
height: calc(2.25rem + 2px);
的时候less会将
height: calc(2.25rem + 2px);
直接转换为height: 4.25rem
根据issue所示,可以通过将
class/Gini/Controller/CLI/Web.php
中55
行左右:修改为
就可以正常的解析,是否考虑增加
web update
的参数还是直接加入框架中?The text was updated successfully, but these errors were encountered: