From 1e8958dd538ee2465d29b74f99fa21a2bd8175db Mon Sep 17 00:00:00 2001 From: imamSidero Date: Wed, 6 Jul 2022 17:02:53 +0530 Subject: Bug fix for the group property value was not readable Adding a stylesheet for group-or-policy-properties-tab component to make it readable in next line Signed-off-by: Imam hussain Issue-ID: SDC-4084 Change-Id: Ia2443f5edcaece63d1d0d446bfbdf37dac24a77b --- .../group-or-policy-properties-tab.component.html | 6 +++--- .../group-or-policy-properties-tab.component.less | 5 +++++ .../group-or-policy-properties-tab.component.ts | 3 ++- 3 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/group-or-policy-properties-tab/group-or-policy-properties-tab.component.less diff --git a/catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/group-or-policy-properties-tab/group-or-policy-properties-tab.component.html b/catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/group-or-policy-properties-tab/group-or-policy-properties-tab.component.html index c57f99786c..3eb01beea9 100644 --- a/catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/group-or-policy-properties-tab/group-or-policy-properties-tab.component.html +++ b/catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/group-or-policy-properties-tab/group-or-policy-properties-tab.component.html @@ -19,13 +19,13 @@
  • -
    +
    {{property.name}}
    -
    {{property.value || property.defaultValue}}
    diff --git a/catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/group-or-policy-properties-tab/group-or-policy-properties-tab.component.less b/catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/group-or-policy-properties-tab/group-or-policy-properties-tab.component.less new file mode 100644 index 0000000000..e354e09500 --- /dev/null +++ b/catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/group-or-policy-properties-tab/group-or-policy-properties-tab.component.less @@ -0,0 +1,5 @@ +@import '../../../../../../../assets/styles/override'; + +.group-policy-properties{ + display: block; +} \ No newline at end of file diff --git a/catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/group-or-policy-properties-tab/group-or-policy-properties-tab.component.ts b/catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/group-or-policy-properties-tab/group-or-policy-properties-tab.component.ts index 24ae8b2833..cdce9fb200 100644 --- a/catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/group-or-policy-properties-tab/group-or-policy-properties-tab.component.ts +++ b/catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/group-or-policy-properties-tab/group-or-policy-properties-tab.component.ts @@ -29,7 +29,8 @@ import { Component as TopologyTemplate, GroupInstance } from "app/models"; @Component({ selector: 'group-or-policy-properties-tab', templateUrl: './group-or-policy-properties-tab.component.html', - styleUrls: ['./../properties-tab/properties-tab.component.less'], + styleUrls: ['./../properties-tab/properties-tab.component.less', + './group-or-policy-properties-tab.component.less'], }) export class GroupOrPolicyPropertiesTab { -- cgit 1.2.3-korg