cec-nuxt-lib 0.3.8 → 0.3.10
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
|
@@ -139,7 +139,7 @@ const centralColumn = (props: any) => {
|
|
|
139
139
|
if (item.column.length === 1) {
|
|
140
140
|
return `
|
|
141
141
|
<div class="row">
|
|
142
|
-
<div class="col-lg-8 col-md-
|
|
142
|
+
<div class="col-lg-8 col-md-10 mx-auto mt-3 mb-4">${item.column[0]}</div>
|
|
143
143
|
</div>
|
|
144
144
|
`;
|
|
145
145
|
} else if (item.column.length === 2) {
|
|
@@ -469,7 +469,7 @@ const promotionalBannerWithText = (props: any) => {
|
|
|
469
469
|
</h1>
|
|
470
470
|
</div>
|
|
471
471
|
`;
|
|
472
|
-
let paras = item.html.replace(/<\/?p>/g, '').split('\n');
|
|
472
|
+
let paras = item.html ? item.html.replace(/<\/?p>/g, '').split('\n') : [];
|
|
473
473
|
if (paras.length) {
|
|
474
474
|
overlay = `
|
|
475
475
|
<div
|
package/package.json
CHANGED