diy-template-components 0.2.11 → 0.2.12

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/build/index.es.js CHANGED
@@ -8129,7 +8129,11 @@ function Section({
8129
8129
  fontStyle: 'italic',
8130
8130
  minHeight: '30px'
8131
8131
  }
8132
- }, "Your logo")))))), /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", null, header?.components[1]?.metadata?.image?.length ? /*#__PURE__*/React.createElement("img", {
8132
+ }, "Your logo")))))), /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", {
8133
+ style: {
8134
+ textAlign: 'center'
8135
+ }
8136
+ }, header?.components[1]?.metadata?.image?.length ? /*#__PURE__*/React.createElement("img", {
8133
8137
  src: header?.components[1]?.metadata?.image // width={600}
8134
8138
  ,
8135
8139
  alt: "",
@@ -8211,10 +8215,15 @@ function Section({
8211
8215
  padding: '32px',
8212
8216
  textAlign: 'center'
8213
8217
  }
8214
- }, /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", null, landing?.components[0]?.metadata?.image?.length ? /*#__PURE__*/React.createElement("img", {
8218
+ }, /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", {
8219
+ style: {
8220
+ textAlign: 'center'
8221
+ }
8222
+ }, landing?.components[0]?.metadata?.image?.length ? /*#__PURE__*/React.createElement("img", {
8215
8223
  src: landing?.components[0]?.metadata?.image,
8216
8224
  alt: "",
8217
8225
  style: {
8226
+ maxWidth: '600px',
8218
8227
  width: '100%',
8219
8228
  borderRadius: '10px'
8220
8229
  }