@lvble/core 0.70.25 → 0.70.26
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
|
@@ -369,7 +369,7 @@ const createModalElements = ({ modal, pms }) => {
|
|
|
369
369
|
${(modal === null || modal === void 0 ? void 0 : modal.height) ? `height: ${modal.height} !important;` : (modal === null || modal === void 0 ? void 0 : modal.paddingBottom) ? `height: calc(33rem - ${modal.paddingBottom});` : "height: 33rem;"}
|
|
370
370
|
`;
|
|
371
371
|
}
|
|
372
|
-
else if (screenH <
|
|
372
|
+
else if (screenH < 850) {
|
|
373
373
|
style.textContent = `
|
|
374
374
|
.livble-modal-iframe {
|
|
375
375
|
top: 0.1875rem !important;
|
|
@@ -382,7 +382,7 @@ const createModalElements = ({ modal, pms }) => {
|
|
|
382
382
|
.livble-modal-iframe {
|
|
383
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(42rem - ${modal.paddingBottom});` : "height: 42rem;"}
|
|
386
386
|
`;
|
|
387
387
|
}
|
|
388
388
|
}
|
package/dist/lib-esm/lvble.js
CHANGED
|
@@ -366,7 +366,7 @@ const createModalElements = ({ modal, pms }) => {
|
|
|
366
366
|
${(modal === null || modal === void 0 ? void 0 : modal.height) ? `height: ${modal.height} !important;` : (modal === null || modal === void 0 ? void 0 : modal.paddingBottom) ? `height: calc(33rem - ${modal.paddingBottom});` : "height: 33rem;"}
|
|
367
367
|
`;
|
|
368
368
|
}
|
|
369
|
-
else if (screenH <
|
|
369
|
+
else if (screenH < 850) {
|
|
370
370
|
style.textContent = `
|
|
371
371
|
.livble-modal-iframe {
|
|
372
372
|
top: 0.1875rem !important;
|
|
@@ -379,7 +379,7 @@ const createModalElements = ({ modal, pms }) => {
|
|
|
379
379
|
.livble-modal-iframe {
|
|
380
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(42rem - ${modal.paddingBottom});` : "height: 42rem;"}
|
|
383
383
|
`;
|
|
384
384
|
}
|
|
385
385
|
}
|