@bluepic/embed 0.1.144 → 0.1.145
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/lib/bluepic-embed.es.js
CHANGED
|
@@ -100500,7 +100500,7 @@ class BluepicEmbed extends EventTarget {
|
|
|
100500
100500
|
#${c} {
|
|
100501
100501
|
height: 100%;
|
|
100502
100502
|
}
|
|
100503
|
-
`, document.head.appendChild(ie), this.element.style.boxSizing === "" && (this.element.style.boxSizing = "border-box"), this.element.style.height === "" && (this.element.style.height = "
|
|
100503
|
+
`, document.head.appendChild(ie), this.element.style.boxSizing === "" && (this.element.style.boxSizing = "border-box"), this.element.style.height === "" && (this.element.style.height = "100vh"), this.element.style.padding === "" && (this.element.style.padding = "10px"), this.element.innerHTML = `
|
|
100504
100504
|
<div id="${c}" class="bluepic-app-wrapper" style="position: relative;" :style="" :class="{ \`layout-\${embedProject?.config.layout}\`: true }">
|
|
100505
100505
|
<div v-if="templateId" style="display: flex; flex-direction: column;" :style="{ height: embedProject?.config.layout === 'stack' ? 'auto' : '100%', '--bluepic-app-border-color': borderColor, '--bluepic-app-border-radius': borderRadius }">
|
|
100506
100506
|
<bluepic-embedded-editor
|
package/lib/bluepic-embed.umd.js
CHANGED
|
@@ -2958,7 +2958,7 @@ list should be an Array.`),ei.length===0)return new Fr(0);if(ei.length===1)retur
|
|
|
2958
2958
|
#${c} {
|
|
2959
2959
|
height: 100%;
|
|
2960
2960
|
}
|
|
2961
|
-
`,document.head.appendChild(ie),this.element.style.boxSizing===""&&(this.element.style.boxSizing="border-box"),this.element.style.height===""&&(this.element.style.height="
|
|
2961
|
+
`,document.head.appendChild(ie),this.element.style.boxSizing===""&&(this.element.style.boxSizing="border-box"),this.element.style.height===""&&(this.element.style.height="100vh"),this.element.style.padding===""&&(this.element.style.padding="10px"),this.element.innerHTML=`
|
|
2962
2962
|
<div id="${c}" class="bluepic-app-wrapper" style="position: relative;" :style="" :class="{ \`layout-\${embedProject?.config.layout}\`: true }">
|
|
2963
2963
|
<div v-if="templateId" style="display: flex; flex-direction: column;" :style="{ height: embedProject?.config.layout === 'stack' ? 'auto' : '100%', '--bluepic-app-border-color': borderColor, '--bluepic-app-border-radius': borderRadius }">
|
|
2964
2964
|
<bluepic-embedded-editor
|