aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/pages
diff options
context:
space:
mode:
authorvasraz <vasyl.razinkov@est.tech>2022-10-24 20:45:57 +0100
committerAndr� Schmid <andre.schmid@est.tech>2022-10-25 17:38:12 +0000
commit15c891ef4198a94ebcdf888a6d09e6f5817ae225 (patch)
tree1b68694ee33cd728dfae5fb74955e42e34852666 /catalog-ui/src/app/ng2/pages
parentf54fd67ca1ae8dc49e520195adb14bde2f4a0a31 (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/pages')
-rw-r--r--catalog-ui/src/app/ng2/pages/composition/graph/composition-graph.component.less2
-rw-r--r--catalog-ui/src/app/ng2/pages/type-workspace/type-workspace.component.less2
2 files changed, 2 insertions, 2 deletions
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;