dce-reactkit 3.7.6 → 3.7.8
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 +6 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +6 -2
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Modal.tsx +6 -2
package/dist/esm/index.js
CHANGED
|
@@ -448,6 +448,10 @@ const style$a = `
|
|
|
448
448
|
opacity: 1;
|
|
449
449
|
}
|
|
450
450
|
}
|
|
451
|
+
|
|
452
|
+
.modal-dialog-scrollable {
|
|
453
|
+
height: 100% !important;
|
|
454
|
+
}
|
|
451
455
|
`;
|
|
452
456
|
/*------------------------------------------------------------------------*/
|
|
453
457
|
/* ------------------------------ Component ----------------------------- */
|
|
@@ -546,7 +550,7 @@ const Modal = (props) => {
|
|
|
546
550
|
animationClass = 'Modal-animating-pop';
|
|
547
551
|
}
|
|
548
552
|
// Render the modal
|
|
549
|
-
return (React__default.createElement("div", { className: "modal show
|
|
553
|
+
return (React__default.createElement("div", { className: "modal show", tabIndex: -1, style: {
|
|
550
554
|
zIndex: (onTopOfOtherModals
|
|
551
555
|
? 5000000001
|
|
552
556
|
: 5000000000),
|
|
@@ -573,7 +577,7 @@ const Modal = (props) => {
|
|
|
573
577
|
// Handle close
|
|
574
578
|
handleClose(ModalButtonType$1.Cancel);
|
|
575
579
|
}) }),
|
|
576
|
-
React__default.createElement("div", { className: `modal-dialog modal-${size} ${animationClass}`, style: {
|
|
580
|
+
React__default.createElement("div", { className: `modal-dialog modal-${size} ${animationClass} modal-dialog-scrollable modal-dialog-centered`, style: {
|
|
577
581
|
zIndex: 5000000002,
|
|
578
582
|
} },
|
|
579
583
|
React__default.createElement("div", { className: "modal-content", style: {
|