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