fix more bugs introduced by Angular 15

This commit is contained in:
2023-03-08 19:25:31 +01:00
parent 6474b5e3c6
commit 4b4932a636
3 changed files with 6 additions and 4 deletions

View File

@@ -2,6 +2,7 @@
:host {
display: flex;
flex-direction: column;
height:100%;
}
pdb-visualization-page {
position: relative;
@@ -9,7 +10,8 @@
height: calc(100% - 150px);
flex-grow: 1;
}
div[mat-dialog-actions] {
.mat-mdc-dialog-content {
max-height: unset;
}
</style>
<h1 mat-dialog-title>Add Plot</h1>

View File

@@ -1,6 +1,6 @@
<h1 mat-dialog-title>Add Text</h1>
<div mat-dialog-content>
<mat-form-field appearance="fill">
<mat-form-field class="pdb-form-full-width">
<mat-label>Text</mat-label>
<textarea matInput [(ngModel)]="text" #textElement focus></textarea>
</mat-form-field>

View File

@@ -1,10 +1,10 @@
<h1 mat-dialog-title>Create a new dashboard</h1>
<div mat-dialog-content>
<mat-form-field appearance="fill">
<mat-form-field class="pdb-form-full-width">
<mat-label>Name</mat-label>
<input matInput [(ngModel)]="data.name" #name>
</mat-form-field>
<mat-form-field appearance="fill">
<mat-form-field class="pdb-form-full-width">
<mat-label>Description</mat-label>
<textarea matInput [(ngModel)]="data.description"></textarea>
</mat-form-field>