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 {
|
openEditJSONDialog(group: FormGroup): void {
|
||||||
this.dialog.open<JsonObjectEditDialogComponent, JsonObjectEditDialogData, CalculatedFieldArgumentEventValue>(JsonObjectEditDialogComponent, {
|
this.dialog.open<JsonObjectEditDialogComponent, JsonObjectEditDialogData, CalculatedFieldArgumentEventValue>(JsonObjectEditDialogComponent, {
|
||||||
disableClose: true,
|
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: {
|
data: {
|
||||||
jsonValue: group.value,
|
jsonValue: group.value,
|
||||||
required: true
|
required: true
|
||||||
|
|||||||
@ -1058,19 +1058,6 @@ pre.tb-highlight {
|
|||||||
display: block;
|
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 {
|
.tb-fullscreen-dialog-gt-xs {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user