dce-reactkit 3.0.0-beta.12 → 3.0.0-beta.13
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 +1 -1
- package/src/components/Modal.tsx +13 -4
package/package.json
CHANGED
package/src/components/Modal.tsx
CHANGED
|
@@ -27,7 +27,6 @@ const style = `
|
|
|
27
27
|
width: 100vw;
|
|
28
28
|
height: 100vw;
|
|
29
29
|
background-color: rgba(0, 0, 0, 0.7);
|
|
30
|
-
z-index: 4000000000;
|
|
31
30
|
}
|
|
32
31
|
`;
|
|
33
32
|
|
|
@@ -334,7 +333,7 @@ const Modal: React.FC<Props> = (props) => {
|
|
|
334
333
|
style={{
|
|
335
334
|
zIndex: (
|
|
336
335
|
onTopOfOtherModals
|
|
337
|
-
?
|
|
336
|
+
? 5000000001
|
|
338
337
|
: 5000000000
|
|
339
338
|
),
|
|
340
339
|
display: 'block',
|
|
@@ -344,8 +343,18 @@ const Modal: React.FC<Props> = (props) => {
|
|
|
344
343
|
}}
|
|
345
344
|
>
|
|
346
345
|
<style>{style}</style>
|
|
347
|
-
<div
|
|
348
|
-
|
|
346
|
+
<div
|
|
347
|
+
className="Modal-backdrop"
|
|
348
|
+
style={{
|
|
349
|
+
zIndex: 5000000003,
|
|
350
|
+
}}
|
|
351
|
+
/>
|
|
352
|
+
<div
|
|
353
|
+
className="modal-dialog"
|
|
354
|
+
style={{
|
|
355
|
+
zIndex: 5000000002,
|
|
356
|
+
}}
|
|
357
|
+
>
|
|
349
358
|
<div className="modal-content">
|
|
350
359
|
<div className="modal-header">
|
|
351
360
|
<h5 className="modal-title">
|