dce-reactkit 3.7.21 → 3.7.22
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.
- package/dist/cjs/index.js +7 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Modal/index.tsx +11 -0
package/package.json
CHANGED
|
@@ -433,6 +433,17 @@ const Modal: React.FC<ModalProps> = (props) => {
|
|
|
433
433
|
className={`modal-dialog modal-${size} ${animationClass} modal-dialog-scrollable modal-dialog-centered`}
|
|
434
434
|
style={{
|
|
435
435
|
zIndex: baseZIndex + 2,
|
|
436
|
+
// Override sizes for even larger for XL
|
|
437
|
+
width: (
|
|
438
|
+
size === ModalSize.ExtraLarge
|
|
439
|
+
? 'calc(100vw - 3rem)'
|
|
440
|
+
: undefined
|
|
441
|
+
),
|
|
442
|
+
maxWidth: (
|
|
443
|
+
size === ModalSize.ExtraLarge
|
|
444
|
+
? '80rem'
|
|
445
|
+
: undefined
|
|
446
|
+
),
|
|
436
447
|
}}
|
|
437
448
|
>
|
|
438
449
|
<div
|