diff --git a/src/sql/workbench/contrib/dashboard/browser/contents/dashboardWidgetWrapper.component.ts b/src/sql/workbench/contrib/dashboard/browser/contents/dashboardWidgetWrapper.component.ts index e6d77c56a4..14f4d0dac8 100644 --- a/src/sql/workbench/contrib/dashboard/browser/contents/dashboardWidgetWrapper.component.ts +++ b/src/sql/workbench/contrib/dashboard/browser/contents/dashboardWidgetWrapper.component.ts @@ -129,6 +129,7 @@ export class DashboardWidgetWrapper extends AngularDisposable implements OnInit this._collapseAction = this.instantiationService.createInstance(CollapseWidgetAction, this._bootstrap.getUnderlyingUri(), this.guid, this.collapsed); if (this.bottomCollapse) { this._bottomActionbar.push(this._collapseAction, { icon: true, label: false }); + this._bottomActionbarRef.nativeElement.style.display = 'block'; } else { this._actionbar.push(this._collapseAction, { icon: true, label: false }); } diff --git a/src/sql/workbench/contrib/dashboard/browser/contents/dashboardWidgetWrapper.css b/src/sql/workbench/contrib/dashboard/browser/contents/dashboardWidgetWrapper.css index d5081ce968..e9afec67ff 100644 --- a/src/sql/workbench/contrib/dashboard/browser/contents/dashboardWidgetWrapper.css +++ b/src/sql/workbench/contrib/dashboard/browser/contents/dashboardWidgetWrapper.css @@ -48,4 +48,5 @@ dashboard-widget-wrapper .bottomActionbar { flex: 0 0 auto; align-self: center; margin-top: -28px; + display: none; }