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