@haiilo/catalyst-angular 10.21.3 → 10.21.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1525,13 +1525,13 @@ class CatDialogService {
|
|
|
1525
1525
|
const panelClass = config?.panelClass ?? [];
|
|
1526
1526
|
return this.dialog.open(component, {
|
|
1527
1527
|
backdropClass: 'cat-backdrop',
|
|
1528
|
-
panelClass: ['cat-dialog-pane', ...(Array.isArray(panelClass) ? panelClass : [panelClass])],
|
|
1529
1528
|
width: '600px',
|
|
1530
1529
|
minWidth: 'clamp(240px, 100vw - 16px, 320px)',
|
|
1531
1530
|
minHeight: 'clamp(144px, 100vh - 16px, 160px)',
|
|
1532
1531
|
maxHeight: 'calc(100vh - 64px)',
|
|
1533
1532
|
maxWidth: 'calc(100vw - 64px)',
|
|
1534
|
-
...config
|
|
1533
|
+
...config,
|
|
1534
|
+
panelClass: ['cat-dialog-pane', ...(Array.isArray(panelClass) ? panelClass : [panelClass])]
|
|
1535
1535
|
});
|
|
1536
1536
|
}
|
|
1537
1537
|
/**
|