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