cec-nuxt-lib 0.10.7 → 0.10.8
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/module.json
CHANGED
|
@@ -310,8 +310,9 @@ const imageWithCSS = (props2) => {
|
|
|
310
310
|
let data = props2.block?.value;
|
|
311
311
|
let classes = data.alignment || "";
|
|
312
312
|
classes += data.otherCss ? ` ${data.otherCss}` : "";
|
|
313
|
-
return
|
|
313
|
+
return `<div class="${classes.includes("mobile-rotate") ? "mobile-wrapper" : ""}">
|
|
314
314
|
<img src="${data.pathOfImage || data.image.asset.sys.uri}" alt="${data.altText || data.image.altText}" class="${classes}" />
|
|
315
|
+
</div>
|
|
315
316
|
`;
|
|
316
317
|
};
|
|
317
318
|
const linkEntry = (data) => {
|
package/package.json
CHANGED