@innovastudio/contentbuilder 1.0.77 → 1.0.78

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbuilder",
3
- "version": "1.0.77",
3
+ "version": "1.0.78",
4
4
  "description": "",
5
5
  "main": "public/contentbuilder/contentbuilder.esm.js",
6
6
  "files": [
@@ -10915,8 +10915,8 @@ const renderQuickAdd = builder => {
10915
10915
  const html = `<div class="is-pop quickadd arrow-right" style="z-index:10003;">
10916
10916
  <div class="is-pop-close" style="display:none;z-index:1;width:40px;height:40px;position:absolute;top:0px;right:0px;box-sizing:border-box;padding:0;line-height:40px;font-size: 12px;color:#777;text-align:center;cursor:pointer;"><svg class="is-icon-flex" style="width:40px;height:40px;"><use xlink:href="#ion-ios-close-empty"></use></svg></div>
10917
10917
  <div class="is-pop-tabs">
10918
- <div class="is-pop-tab-item active" data-value="left">${util.out('Add to Left')}</div>
10919
- <div class="is-pop-tab-item" data-value="right">${util.out('Add to Right')}</div>
10918
+ <div class="is-pop-tab-item" data-value="left">${util.out('Add to Left')}</div>
10919
+ <div class="is-pop-tab-item active" data-value="right">${util.out('Add to Right')}</div>
10920
10920
  </div>
10921
10921
  <div style="padding:12px;display:flex;flex-direction:row;flex-flow: wrap;justify-content: center;align-items: center;">
10922
10922
  <button title="${util.out('Paragraph')}" class="add-paragraph"><span style="display:block;margin:0 0 8px;"><svg class="is-icon-flex" style="width:12px;height:12px;"><use xlink:href="#icon-align-full"></use></svg></span>${util.out('Paragraph')}</button>
@@ -38850,9 +38850,9 @@ class Image {
38850
38850
  <button title="4x6" data-crop-size="0.6666" style="width: 40px;height: 60px;">4x6</button>
38851
38851
  <button title="${util.out('Free')}" data-crop-size="" style="width: 60px;height: 45px;">${util.out('Free')}</button>
38852
38852
  </div>
38853
- <div class="imageedit-preview" style="max-width:1000px;width: 100%;max-height: 550px;height: 100%;">
38853
+ <div class="imageedit-preview" style="max-width:1000px;width:100%;max-height:550px;">
38854
38854
  </div>
38855
- <div style="margin-top:7px;text-align:right;align-self:flex-end;">
38855
+ <div style="margin-top:15px;text-align:right;align-self:flex-end;">
38856
38856
  <button title="${util.out('Cancel')}" class="input-cancel classic-secondary">${util.out('Cancel')}</button>
38857
38857
  <button title="${util.out('Apply')}" class="input-ok classic-primary">${util.out('Apply')}</button>
38858
38858
  </div>
@@ -39386,6 +39386,7 @@ class Image {
39386
39386
  let preview = modalImageEdit.querySelector('.imageedit-preview');
39387
39387
  const maxW = 800;
39388
39388
  const maxH = 550;
39389
+ preview.style.height = '';
39389
39390
 
39390
39391
  if (img.offsetWidth < maxW && img.offsetHeight < maxH) {
39391
39392
  preview.style.width = img.offsetWidth + 'px';