@lvble/core 0.70.24 → 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,18 +369,18 @@ 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
|
-
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
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
|
`;
|
package/dist/lib-esm/lvble.js
CHANGED
|
@@ -366,18 +366,18 @@ 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
|
-
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
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
|
`;
|