@lvble/core 0.70.24 → 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: 1rem !important;
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(39rem - ${modal.paddingBottom});` : "height: 39rem;"}
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: 2rem !important;
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(42rem - ${modal.paddingBottom});` : "height: 42rem;"}
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
  }
@@ -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: 1rem !important;
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(39rem - ${modal.paddingBottom});` : "height: 39rem;"}
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: 2rem !important;
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(42rem - ${modal.paddingBottom});` : "height: 42rem;"}
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
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@lvble/core",
3
3
  "private": false,
4
4
  "license": "MIT",
5
- "version": "0.70.24",
5
+ "version": "0.70.25",
6
6
  "main": "./dist/_bundles/index.js",
7
7
  "module": "./dist/lib-esm/index.js",
8
8
  "types": "./dist/lib/index.d.ts",