changed dialog sizing
This commit is contained in:
parent
b30329be98
commit
cf815b39f4
@ -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
|
||||
|
||||
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user