diff options
author | vasraz <vasyl.razinkov@est.tech> | 2022-10-24 20:45:57 +0100 |
---|---|---|
committer | Andr� Schmid <andre.schmid@est.tech> | 2022-10-25 17:38:12 +0000 |
commit | 15c891ef4198a94ebcdf888a6d09e6f5817ae225 (patch) | |
tree | 1b68694ee33cd728dfae5fb74955e42e34852666 /catalog-ui/src/app/ng2 | |
parent | f54fd67ca1ae8dc49e520195adb14bde2f4a0a31 (diff) |
Fix Critical bug reported by Sonar
Fixes malformed 'calc' expressions reported as critical bug by Sonar Cloud
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: Id31765c7b58701cc448b7c4b192db2986090ed79
Issue-ID: SDC-4230
Diffstat (limited to 'catalog-ui/src/app/ng2')
3 files changed, 4 insertions, 4 deletions
diff --git a/catalog-ui/src/app/ng2/components/ui/multi-steps-wizard/multi-steps-wizard.component.less b/catalog-ui/src/app/ng2/components/ui/multi-steps-wizard/multi-steps-wizard.component.less index 3a2168aeb0..05165f7046 100644 --- a/catalog-ui/src/app/ng2/components/ui/multi-steps-wizard/multi-steps-wizard.component.less +++ b/catalog-ui/src/app/ng2/components/ui/multi-steps-wizard/multi-steps-wizard.component.less @@ -36,9 +36,9 @@ header{ font-size: 13px; } .line{ - width: calc(~'100% - @{circle_size}'); + width: ~"calc(100% - @{circle_size})"; position: relative; - left: calc(~'(100% - @{circle_size})/2 * (-1)'); + left: ~"calc((100% - @{circle_size})/2 * (-1))"; float: left; height: 2px; .inner-line{ diff --git a/catalog-ui/src/app/ng2/pages/composition/graph/composition-graph.component.less b/catalog-ui/src/app/ng2/pages/composition/graph/composition-graph.component.less index b3e5ef3a0c..8451ae4450 100644 --- a/catalog-ui/src/app/ng2/pages/composition/graph/composition-graph.component.less +++ b/catalog-ui/src/app/ng2/pages/composition/graph/composition-graph.component.less @@ -15,7 +15,7 @@ width: 100%; &.with-sidebar { - width: calc(~'100% - 300px'); + width: ~"calc(100% - 300px)"; } } diff --git a/catalog-ui/src/app/ng2/pages/type-workspace/type-workspace.component.less b/catalog-ui/src/app/ng2/pages/type-workspace/type-workspace.component.less index 4839b24f5e..a12642d271 100644 --- a/catalog-ui/src/app/ng2/pages/type-workspace/type-workspace.component.less +++ b/catalog-ui/src/app/ng2/pages/type-workspace/type-workspace.component.less @@ -117,7 +117,7 @@ .w-sdc-main-container-body-content-wrapper { overflow: auto; - height: calc(~'100% - @{action_nav_height}'); + height: ~"calc(100% - @{action_nav_height})"; .w-sdc-main-container-body-content-header { display: flex; |