vue-datocms 6.0.0 → 6.0.2
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/index.cjs.js +2 -2
- package/dist/index.esm.mjs +2 -2
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -398,7 +398,7 @@ const Image$1 = vue.defineComponent({
|
|
|
398
398
|
left: "-5%",
|
|
399
399
|
top: "-5%",
|
|
400
400
|
width: "110%",
|
|
401
|
-
height: "
|
|
401
|
+
height: "auto",
|
|
402
402
|
maxWidth: "none",
|
|
403
403
|
maxHeight: "none"
|
|
404
404
|
}, this.placeholderStyle);
|
|
@@ -579,7 +579,7 @@ const NakedImage = vue.defineComponent({
|
|
|
579
579
|
height: "auto"
|
|
580
580
|
};
|
|
581
581
|
const placeholderStyle = this.usePlaceholder && !this.loaded && this.data.base64 ? {
|
|
582
|
-
backgroundImage: `url(${this.data.base64})`,
|
|
582
|
+
backgroundImage: `url("${this.data.base64}")`,
|
|
583
583
|
backgroundSize: "cover",
|
|
584
584
|
backgroundRepeat: "no-repeat",
|
|
585
585
|
backgroundPosition: "50% 50%",
|
package/dist/index.esm.mjs
CHANGED
|
@@ -374,7 +374,7 @@ const Image$1 = defineComponent({
|
|
|
374
374
|
left: "-5%",
|
|
375
375
|
top: "-5%",
|
|
376
376
|
width: "110%",
|
|
377
|
-
height: "
|
|
377
|
+
height: "auto",
|
|
378
378
|
maxWidth: "none",
|
|
379
379
|
maxHeight: "none"
|
|
380
380
|
}, this.placeholderStyle);
|
|
@@ -555,7 +555,7 @@ const NakedImage = defineComponent({
|
|
|
555
555
|
height: "auto"
|
|
556
556
|
};
|
|
557
557
|
const placeholderStyle = this.usePlaceholder && !this.loaded && this.data.base64 ? {
|
|
558
|
-
backgroundImage: `url(${this.data.base64})`,
|
|
558
|
+
backgroundImage: `url("${this.data.base64}")`,
|
|
559
559
|
backgroundSize: "cover",
|
|
560
560
|
backgroundRepeat: "no-repeat",
|
|
561
561
|
backgroundPosition: "50% 50%",
|