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
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "cec-nuxt-lib",
3
3
  "configKey": "cec-nuxt-lib",
4
- "version": "0.3.8"
4
+ "version": "0.3.10"
5
5
  }
@@ -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-12 mx-auto mt-3 mb-4">${item.column[0]}</div>
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
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.3.8",
2
+ "version": "0.3.10",
3
3
  "name": "cec-nuxt-lib",
4
4
  "description": "Nuxt components and assets",
5
5
  "license": "MIT",