From: SANDHYA.JS Date: Tue, 5 Apr 2022 01:58:32 +0000 (+0530) Subject: Fix Bug 1974: No.Of Hours Value for the running instances is hidden in Dashboard X-Git-Tag: v11.0.3~6 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F40%2F11840%2F2;p=osm%2FNG-UI.git Fix Bug 1974: No.Of Hours Value for the running instances is hidden in Dashboard - No.Of Hours Value for the running instances will be visible in Dashboard Instance graph - Changed the metrics error message - Changed the font size of mandatory field message. Change-Id: If6b62d645ba10a38fb969ed189d7e7a5ce2d45a5 Signed-off-by: SANDHYA.JS --- diff --git a/src/app/dashboard/DashboardComponent.ts b/src/app/dashboard/DashboardComponent.ts index d6dc801..b7902a0 100644 --- a/src/app/dashboard/DashboardComponent.ts +++ b/src/app/dashboard/DashboardComponent.ts @@ -330,6 +330,11 @@ export class DashboardComponent implements OnInit { }] }, options: { + layout: { + padding: { + top: 20 + } + }, hover: { onHover(evt: Event, item: {}): void { const el: HTMLElement = document.getElementById('canvas'); diff --git a/src/app/utilities/ns-instances-action/NSInstancesActionComponent.ts b/src/app/utilities/ns-instances-action/NSInstancesActionComponent.ts index a66f78a..b5f7b01 100644 --- a/src/app/utilities/ns-instances-action/NSInstancesActionComponent.ts +++ b/src/app/utilities/ns-instances-action/NSInstancesActionComponent.ts @@ -184,7 +184,7 @@ export class NSInstancesActionComponent { window.open(location); } else { this.isLoadingNSInstanceAction = false; - this.notifierService.notify('error', this.translateService.instant('GRAFANA.METRICSERROR')); + this.notifierService.notify('error', this.translateService.instant('PAGE.NSMETRIC.METRICERROR')); } }); this.doChanges(); diff --git a/src/assets/scss/app.scss b/src/assets/scss/app.scss index 1f7ce6c..2e2eb92 100644 --- a/src/assets/scss/app.scss +++ b/src/assets/scss/app.scss @@ -150,7 +150,7 @@ body { padding-right: 0px; } .mandatory-label { - @include font(null, 10px, null); + @include font(null, 11px, null); } .dropzone { min-height: 50px; @@ -264,10 +264,10 @@ body { overflow-y: scroll; } } - .resources-chart-popover{ + .resources-chart-popover { max-width: 60% !important; @include font-family("Roboto"); - .popover-body{ + .popover-body { max-height: 60vh; overflow-y: scroll; }