diff --git a/src/styles/components/input-number.less b/src/styles/components/input-number.less index 3b5d8f5f5..20e3feb6f 100644 --- a/src/styles/components/input-number.less +++ b/src/styles/components/input-number.less @@ -54,7 +54,7 @@ &-handler { display: block; width: 100%; - height: @input-height-base / 2; + height: (@input-height-base / 2); line-height: 0; text-align: center; overflow: hidden; @@ -125,7 +125,7 @@ height: @input-height-large; } .@{input-number-prefix-cls}-handler { - height: @input-height-large / 2; + height: (@input-height-large / 2); } input { @@ -147,7 +147,7 @@ height: @input-height-small; } .@{input-number-prefix-cls}-handler { - height: @input-height-small / 2; + height: (@input-height-small / 2); } input { diff --git a/src/styles/components/layout.less b/src/styles/components/layout.less index ceced165b..7a7a6ad93 100644 --- a/src/styles/components/layout.less +++ b/src/styles/components/layout.less @@ -82,7 +82,7 @@ line-height: @layout-zero-trigger-height; background: @layout-sider-background; color: #fff; - font-size: @layout-zero-trigger-width / 2; + font-size: (@layout-zero-trigger-width / 2); border-radius: 0 @border-radius-base @border-radius-base 0; cursor: pointer; transition: background .3s ease; diff --git a/src/styles/components/split.less b/src/styles/components/split.less index 6d3a1e5c3..cd92c1163 100644 --- a/src/styles/components/split.less +++ b/src/styles/components/split.less @@ -4,7 +4,7 @@ @trigger-background: #f8f8f9; @trigger-width: 6px; @trigger-bar-width: 4px; -@trigger-bar-offset: (@trigger-width - @trigger-bar-width) / 2; +@trigger-bar-offset: ((@trigger-width - @trigger-bar-width) / 2); @trigger-bar-interval: 3px; @trigger-bar-weight: 1px; @trigger-bar-con-height: (@trigger-bar-weight + @trigger-bar-interval) * 8; diff --git a/src/styles/components/time-picker.less b/src/styles/components/time-picker.less index 9f76f18af..f06f7f339 100644 --- a/src/styles/components/time-picker.less +++ b/src/styles/components/time-picker.less @@ -141,7 +141,7 @@ &-with-seconds{ min-width: @time-picker-cells-width-with-date-with-seconds; .@{time-picker-prefix-cls}-cells-list{ - width: @time-picker-cells-width-with-date-with-seconds / 3; + width: (@time-picker-cells-width-with-date-with-seconds / 3); ul{ li{ padding: 0 0 0 28px; @@ -150,7 +150,7 @@ } } &-list { - width: @time-picker-cells-width-with-date-with-seconds / 2; + width: (@time-picker-cells-width-with-date-with-seconds / 2); max-height: 216px; &:first-child{ border-radius: 0;