diff --git a/ui-ngx/src/app/modules/home/models/dashboard-component.models.ts b/ui-ngx/src/app/modules/home/models/dashboard-component.models.ts
index 3ccba35805..351dfadcab 100644
--- a/ui-ngx/src/app/modules/home/models/dashboard-component.models.ts
+++ b/ui-ngx/src/app/modules/home/models/dashboard-component.models.ts
@@ -311,9 +311,6 @@ export class DashboardWidget implements GridsterItem, IDashboardWidget {
style: {[klass: string]: any};
- hasWidgetTitleTemplate: boolean;
- widgetTitleTemplate: string;
-
showWidgetTitlePanel: boolean;
showWidgetActions: boolean;
@@ -395,11 +392,8 @@ export class DashboardWidget implements GridsterItem, IDashboardWidget {
this.style = {...this.widget.config.widgetStyle, ...this.style};
}
- this.hasWidgetTitleTemplate = this.widgetContext.widgetTitleTemplate ? true : false;
- this.widgetTitleTemplate = this.widgetContext.widgetTitleTemplate ? this.widgetContext.widgetTitleTemplate : '';
-
this.showWidgetTitlePanel = this.widgetContext.hideTitlePanel ? false :
- this.hasWidgetTitleTemplate || this.showTitle || this.hasTimewindow;
+ this.showTitle || this.hasTimewindow;
this.showWidgetActions = this.widgetContext.hideTitlePanel ? false : true;
diff --git a/ui-ngx/src/app/modules/home/models/widget-component.models.ts b/ui-ngx/src/app/modules/home/models/widget-component.models.ts
index 165a1b4248..1bf3b190eb 100644
--- a/ui-ngx/src/app/modules/home/models/widget-component.models.ts
+++ b/ui-ngx/src/app/modules/home/models/widget-component.models.ts
@@ -176,7 +176,6 @@ export class WidgetContext {
hideTitlePanel = false;
- widgetTitleTemplate?: string;
widgetTitle?: string;
widgetTitleTooltip?: string;
customHeaderActions?: Array;
@@ -212,7 +211,6 @@ export class WidgetContext {
reset() {
this.destroyed = false;
this.hideTitlePanel = false;
- this.widgetTitleTemplate = undefined;
this.widgetTitle = undefined;
this.customHeaderActions = undefined;
this.widgetActions = undefined;
diff --git a/ui-ngx/src/styles.scss b/ui-ngx/src/styles.scss
index 5094c52664..1beeaf7a86 100644
--- a/ui-ngx/src/styles.scss
+++ b/ui-ngx/src/styles.scss
@@ -42,6 +42,7 @@ body {
margin: 0;
padding: 0;
background-color: rgb(250,250,250);
+ overflow: hidden;
}
tb-root {