catchup-library-web 2.4.4 → 2.4.5
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/index.js +9 -3
- package/dist/index.mjs +9 -3
- package/package.json +1 -1
- package/src/components/modals/BaseModal.tsx +9 -3
package/dist/index.js
CHANGED
|
@@ -1228,7 +1228,7 @@ var BaseModal = ({
|
|
|
1228
1228
|
background: "",
|
|
1229
1229
|
border: "",
|
|
1230
1230
|
maxHeight: "98%",
|
|
1231
|
-
overflow: "
|
|
1231
|
+
overflow: "visible",
|
|
1232
1232
|
zIndex: 20
|
|
1233
1233
|
},
|
|
1234
1234
|
overlay: {
|
|
@@ -1237,7 +1237,13 @@ var BaseModal = ({
|
|
|
1237
1237
|
}
|
|
1238
1238
|
},
|
|
1239
1239
|
contentLabel: "",
|
|
1240
|
-
children: customSize ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
1240
|
+
children: customSize ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
1241
|
+
"div",
|
|
1242
|
+
{
|
|
1243
|
+
className: `${customSize} font-quicksand max-h-[calc(98vh-48px)] overflow-auto`,
|
|
1244
|
+
children
|
|
1245
|
+
}
|
|
1246
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
|
|
1241
1247
|
"div",
|
|
1242
1248
|
{
|
|
1243
1249
|
className: `font-quicksand ${size === "small" ? "w-[600px]" : size === "medium" ? "w-[900px]" : "w-[600px] lg:w-[900px] xl:w-[1200px] 2xl:w-[1500px]"}`,
|
|
@@ -1251,7 +1257,7 @@ var BaseModal = ({
|
|
|
1251
1257
|
onClick: onRequestClose
|
|
1252
1258
|
}
|
|
1253
1259
|
) }),
|
|
1254
|
-
children
|
|
1260
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "max-h-[calc(98vh-80px)] overflow-auto", children })
|
|
1255
1261
|
]
|
|
1256
1262
|
}
|
|
1257
1263
|
)
|
package/dist/index.mjs
CHANGED
|
@@ -995,7 +995,7 @@ var BaseModal = ({
|
|
|
995
995
|
background: "",
|
|
996
996
|
border: "",
|
|
997
997
|
maxHeight: "98%",
|
|
998
|
-
overflow: "
|
|
998
|
+
overflow: "visible",
|
|
999
999
|
zIndex: 20
|
|
1000
1000
|
},
|
|
1001
1001
|
overlay: {
|
|
@@ -1004,7 +1004,13 @@ var BaseModal = ({
|
|
|
1004
1004
|
}
|
|
1005
1005
|
},
|
|
1006
1006
|
contentLabel: "",
|
|
1007
|
-
children: customSize ? /* @__PURE__ */ jsx15(
|
|
1007
|
+
children: customSize ? /* @__PURE__ */ jsx15(
|
|
1008
|
+
"div",
|
|
1009
|
+
{
|
|
1010
|
+
className: `${customSize} font-quicksand max-h-[calc(98vh-48px)] overflow-auto`,
|
|
1011
|
+
children
|
|
1012
|
+
}
|
|
1013
|
+
) : /* @__PURE__ */ jsxs10(
|
|
1008
1014
|
"div",
|
|
1009
1015
|
{
|
|
1010
1016
|
className: `font-quicksand ${size === "small" ? "w-[600px]" : size === "medium" ? "w-[900px]" : "w-[600px] lg:w-[900px] xl:w-[1200px] 2xl:w-[1500px]"}`,
|
|
@@ -1018,7 +1024,7 @@ var BaseModal = ({
|
|
|
1018
1024
|
onClick: onRequestClose
|
|
1019
1025
|
}
|
|
1020
1026
|
) }),
|
|
1021
|
-
children
|
|
1027
|
+
/* @__PURE__ */ jsx15("div", { className: "max-h-[calc(98vh-80px)] overflow-auto", children })
|
|
1022
1028
|
]
|
|
1023
1029
|
}
|
|
1024
1030
|
)
|
package/package.json
CHANGED
|
@@ -28,7 +28,7 @@ const BaseModal = ({
|
|
|
28
28
|
background: "",
|
|
29
29
|
border: "",
|
|
30
30
|
maxHeight: "98%",
|
|
31
|
-
overflow: "
|
|
31
|
+
overflow: "visible",
|
|
32
32
|
zIndex: 20,
|
|
33
33
|
},
|
|
34
34
|
overlay: {
|
|
@@ -39,7 +39,11 @@ const BaseModal = ({
|
|
|
39
39
|
contentLabel=""
|
|
40
40
|
>
|
|
41
41
|
{customSize ? (
|
|
42
|
-
<div
|
|
42
|
+
<div
|
|
43
|
+
className={`${customSize} font-quicksand max-h-[calc(98vh-48px)] overflow-auto`}
|
|
44
|
+
>
|
|
45
|
+
{children}
|
|
46
|
+
</div>
|
|
43
47
|
) : (
|
|
44
48
|
<div
|
|
45
49
|
className={`font-quicksand ${
|
|
@@ -58,7 +62,9 @@ const BaseModal = ({
|
|
|
58
62
|
onClick={onRequestClose}
|
|
59
63
|
/>
|
|
60
64
|
</div>
|
|
61
|
-
|
|
65
|
+
<div className="max-h-[calc(98vh-80px)] overflow-auto">
|
|
66
|
+
{children}
|
|
67
|
+
</div>
|
|
62
68
|
</div>
|
|
63
69
|
)}
|
|
64
70
|
</Modal>
|