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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dce-reactkit",
3
- "version": "3.7.6",
3
+ "version": "3.7.8",
4
4
  "description": "Shared components for Harvard DCE apps",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -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 modal-dialog-scrollable modal-dialog-centered"
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
  }}