fix bottom of widgets being cutoff (#9930)

This commit is contained in:
Kim Santiago
2020-04-10 13:39:27 -07:00
committed by GitHub
parent 4856e0a978
commit 3eab267da6
2 changed files with 2 additions and 0 deletions

View File

@@ -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 });
}

View File

@@ -48,4 +48,5 @@ dashboard-widget-wrapper .bottomActionbar {
flex: 0 0 auto;
align-self: center;
margin-top: -28px;
display: none;
}