Files
perfdb/pdb-js/src/app/dashboard-page/dashboard/add-plot-dialog/add-plot-dialog.component.html
2023-03-12 08:24:16 +01:00

25 lines
640 B
HTML

<style>
:host {
display: flex;
flex-direction: column;
height:100%;
}
pdb-visualization-page {
position: relative;
width: 100%;
height: calc(100% - 150px);
flex-grow: 1;
}
.mat-mdc-dialog-content {
max-height: unset;
}
</style>
<h1 mat-dialog-title>{{data.title}}</h1>
<pdb-visualization-page mat-dialog-content #plot [defaultConfig]="data.config" [galleryEnabled]="false"></pdb-visualization-page>
<div mat-dialog-actions align="end">
<button mat-button mat-dialog-close >Cancel</button>
<button class="save-button" mat-button mat-dialog-close (click)="onSaveClick()">Save</button>
</div>