From fe65d82e99e769bc33ef7a4543110672eacee3fd Mon Sep 17 00:00:00 2001 From: OVSharova Date: Fri, 11 Mar 2022 12:37:44 +0300 Subject: [PATCH] return back calc --- apps/common/main/resources/less/combo-dataview.less | 2 +- apps/common/main/resources/less/spinner.less | 2 +- apps/common/main/resources/less/synchronize-tip.less | 2 +- apps/common/main/resources/less/theme-colorpalette.less | 2 +- apps/common/main/resources/less/window.less | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/common/main/resources/less/combo-dataview.less b/apps/common/main/resources/less/combo-dataview.less index 969ac9778..fecb3727e 100644 --- a/apps/common/main/resources/less/combo-dataview.less +++ b/apps/common/main/resources/less/combo-dataview.less @@ -94,7 +94,7 @@ .border-left-radius(0); .dataview { - @minus-px: calc((-1px / @pixel-ratio-factor)); + @minus-px: calc(-1px / @pixel-ratio-factor); height: @combo-dataview-height; height: @combo-dataview-height-calc; padding: 0; diff --git a/apps/common/main/resources/less/spinner.less b/apps/common/main/resources/less/spinner.less index c9373296e..e33fb2b65 100644 --- a/apps/common/main/resources/less/spinner.less +++ b/apps/common/main/resources/less/spinner.less @@ -19,7 +19,7 @@ position: relative; width: @trigger-width; height: (@spin-height/2) - 1; - height: calc((@spin-height/2) - (1px/@pixel-ratio-factor)); + height: calc(@spin-height/2 - 1px/@pixel-ratio-factor); padding: 0; margin: 0; border: none; diff --git a/apps/common/main/resources/less/synchronize-tip.less b/apps/common/main/resources/less/synchronize-tip.less index b32a54328..06b72e9f7 100644 --- a/apps/common/main/resources/less/synchronize-tip.less +++ b/apps/common/main/resources/less/synchronize-tip.less @@ -530,7 +530,7 @@ content: ' '; position: absolute; left: 7px; - left: calc((7px/@pixel-ratio-factor)); + left: calc(7px/@pixel-ratio-factor); top: @scaled-one-px-value-ie; top: @scaled-one-px-value; height: 14px; diff --git a/apps/common/main/resources/less/theme-colorpalette.less b/apps/common/main/resources/less/theme-colorpalette.less index ab2440618..9d81c90fd 100644 --- a/apps/common/main/resources/less/theme-colorpalette.less +++ b/apps/common/main/resources/less/theme-colorpalette.less @@ -16,7 +16,7 @@ a { padding: 0; - margin: calc(1px - (1px / @pixel-ratio-factor)); + margin: calc(1px - 1px / @pixel-ratio-factor); border: @scaled-one-px-value-ie solid @background-normal-ie; border: @scaled-one-px-value solid @background-normal; float: left; diff --git a/apps/common/main/resources/less/window.less b/apps/common/main/resources/less/window.less index 6aed928c6..e17517464 100644 --- a/apps/common/main/resources/less/window.less +++ b/apps/common/main/resources/less/window.less @@ -47,7 +47,7 @@ content: ' '; position: absolute; left: 7px; - left: calc((7px / @pixel-ratio-factor)); + left: calc(7px / @pixel-ratio-factor); top: @scaled-one-px-value-ie; top: @scaled-one-px-value; height: 14px;