changed dialog sizing

This commit is contained in:
mpetrov 2025-02-17 18:43:24 +02:00
parent b30329be98
commit cf815b39f4
2 changed files with 3 additions and 14 deletions

View File

@ -122,7 +122,9 @@ export class CalculatedFieldTestArgumentsComponent extends PageComponent impleme
openEditJSONDialog(group: FormGroup): void {
this.dialog.open<JsonObjectEditDialogComponent, JsonObjectEditDialogData, CalculatedFieldArgumentEventValue>(JsonObjectEditDialogComponent, {
disableClose: true,
panelClass: ['tb-dialog', 'tb-fullscreen-dialog', 'tb-dialog-min-w-700', 'tb-dialog-h-fill'],
height: '65vh',
minWidth: 'min(700px, 100%)',
panelClass: ['tb-dialog', 'tb-fullscreen-dialog'],
data: {
jsonValue: group.value,
required: true

View File

@ -1058,19 +1058,6 @@ pre.tb-highlight {
display: block;
}
}
@for $i from 1 through 10 {
&-min-w-#{$i * 100} {
@media screen and (min-width: #{$i * 100}px) {
--mat-dialog-container-min-width: #{$i * 100}px;
}
}
}
&-h-fill {
height: 65vh;
}
}
.tb-fullscreen-dialog-gt-xs {