diff --git a/src/col/index.less b/src/col/index.less index 35fa2f4f5..ce2f6bd9b 100644 --- a/src/col/index.less +++ b/src/col/index.less @@ -9,11 +9,11 @@ .generate-col(24); .generate-col(@n, @i: 1) when (@i =< @n) { .van-col--@{i} { - width: @i * 100% / 24; + width: (@i * 100% / 24); } .van-col--offset-@{i} { - margin-left: @i * 100% / 24; + margin-left: (@i * 100% / 24); } .generate-col(@n, (@i + 1));