From 15c891ef4198a94ebcdf888a6d09e6f5817ae225 Mon Sep 17 00:00:00 2001 From: vasraz Date: Mon, 24 Oct 2022 20:45:57 +0100 Subject: Fix Critical bug reported by Sonar Fixes malformed 'calc' expressions reported as critical bug by Sonar Cloud Signed-off-by: Vasyl Razinkov Change-Id: Id31765c7b58701cc448b7c4b192db2986090ed79 Issue-ID: SDC-4230 --- .../ui/multi-steps-wizard/multi-steps-wizard.component.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'catalog-ui/src/app/ng2/components') 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{ -- cgit 1.2.3-korg