@lvble/core 0.70.23 → 0.70.25
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/lib/lvble.js
CHANGED
|
@@ -372,17 +372,17 @@ const createModalElements = ({ modal, pms }) => {
|
|
|
372
372
|
else if (screenH < 800) {
|
|
373
373
|
style.textContent = `
|
|
374
374
|
.livble-modal-iframe {
|
|
375
|
-
top:
|
|
375
|
+
top: 0.1875rem !important;
|
|
376
376
|
transform: translateX(-50%) !important;
|
|
377
|
-
${(modal === null || modal === void 0 ? void 0 : modal.height) ? `height: ${modal.height} !important;` : (modal === null || modal === void 0 ? void 0 : modal.paddingBottom) ? `height: calc(
|
|
377
|
+
${(modal === null || modal === void 0 ? void 0 : modal.height) ? `height: ${modal.height} !important;` : (modal === null || modal === void 0 ? void 0 : modal.paddingBottom) ? `height: calc(38rem - ${modal.paddingBottom});` : "height: 38rem;"}
|
|
378
378
|
`;
|
|
379
379
|
}
|
|
380
380
|
else if (screenH < 1100) {
|
|
381
381
|
style.textContent = `
|
|
382
382
|
.livble-modal-iframe {
|
|
383
|
-
top:
|
|
383
|
+
top: 0.1875rem !important;
|
|
384
384
|
transform: translateX(-50%) !important;
|
|
385
|
-
${(modal === null || modal === void 0 ? void 0 : modal.height) ? `height: ${modal.height} !important;` : (modal === null || modal === void 0 ? void 0 : modal.paddingBottom) ? `height: calc(
|
|
385
|
+
${(modal === null || modal === void 0 ? void 0 : modal.height) ? `height: ${modal.height} !important;` : (modal === null || modal === void 0 ? void 0 : modal.paddingBottom) ? `height: calc(41rem - ${modal.paddingBottom});` : "height: 41rem;"}
|
|
386
386
|
`;
|
|
387
387
|
}
|
|
388
388
|
}
|
package/dist/lib-esm/lvble.js
CHANGED
|
@@ -369,17 +369,17 @@ const createModalElements = ({ modal, pms }) => {
|
|
|
369
369
|
else if (screenH < 800) {
|
|
370
370
|
style.textContent = `
|
|
371
371
|
.livble-modal-iframe {
|
|
372
|
-
top:
|
|
372
|
+
top: 0.1875rem !important;
|
|
373
373
|
transform: translateX(-50%) !important;
|
|
374
|
-
${(modal === null || modal === void 0 ? void 0 : modal.height) ? `height: ${modal.height} !important;` : (modal === null || modal === void 0 ? void 0 : modal.paddingBottom) ? `height: calc(
|
|
374
|
+
${(modal === null || modal === void 0 ? void 0 : modal.height) ? `height: ${modal.height} !important;` : (modal === null || modal === void 0 ? void 0 : modal.paddingBottom) ? `height: calc(38rem - ${modal.paddingBottom});` : "height: 38rem;"}
|
|
375
375
|
`;
|
|
376
376
|
}
|
|
377
377
|
else if (screenH < 1100) {
|
|
378
378
|
style.textContent = `
|
|
379
379
|
.livble-modal-iframe {
|
|
380
|
-
top:
|
|
380
|
+
top: 0.1875rem !important;
|
|
381
381
|
transform: translateX(-50%) !important;
|
|
382
|
-
${(modal === null || modal === void 0 ? void 0 : modal.height) ? `height: ${modal.height} !important;` : (modal === null || modal === void 0 ? void 0 : modal.paddingBottom) ? `height: calc(
|
|
382
|
+
${(modal === null || modal === void 0 ? void 0 : modal.height) ? `height: ${modal.height} !important;` : (modal === null || modal === void 0 ? void 0 : modal.paddingBottom) ? `height: calc(41rem - ${modal.paddingBottom});` : "height: 41rem;"}
|
|
383
383
|
`;
|
|
384
384
|
}
|
|
385
385
|
}
|