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/package.json
CHANGED
package/src/components/Modal.tsx
CHANGED
|
@@ -203,6 +203,10 @@ const style = `
|
|
|
203
203
|
opacity: 1;
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
|
+
|
|
207
|
+
.modal-dialog-scrollable {
|
|
208
|
+
height: 100% !important;
|
|
209
|
+
}
|
|
206
210
|
`;
|
|
207
211
|
|
|
208
212
|
/*------------------------------------------------------------------------*/
|
|
@@ -417,7 +421,7 @@ const Modal: React.FC<Props> = (props) => {
|
|
|
417
421
|
// Render the modal
|
|
418
422
|
return (
|
|
419
423
|
<div
|
|
420
|
-
className="modal show
|
|
424
|
+
className="modal show"
|
|
421
425
|
tabIndex={-1}
|
|
422
426
|
style={{
|
|
423
427
|
zIndex: (
|
|
@@ -455,7 +459,7 @@ const Modal: React.FC<Props> = (props) => {
|
|
|
455
459
|
}}
|
|
456
460
|
/>
|
|
457
461
|
<div
|
|
458
|
-
className={`modal-dialog modal-${size} ${animationClass}`}
|
|
462
|
+
className={`modal-dialog modal-${size} ${animationClass} modal-dialog-scrollable modal-dialog-centered`}
|
|
459
463
|
style={{
|
|
460
464
|
zIndex: 5000000002,
|
|
461
465
|
}}
|