mjml-hero
Advanced tools
Comparing version 2.0.9 to 2.0.10
@@ -221,3 +221,4 @@ 'use strict'; | ||
paddingBottom: getPadding('bottom'), | ||
backgroundPosition: mjAttribute('background-position') | ||
backgroundPosition: mjAttribute('background-position'), | ||
verticalAlign: mjAttribute('vertical-align') | ||
} | ||
@@ -300,3 +301,3 @@ }); | ||
{ | ||
border: '0', | ||
role: 'presentation', | ||
cellPadding: '0', | ||
@@ -303,0 +304,0 @@ cellSpacing: '0', |
@@ -58,3 +58,3 @@ 'use strict'; | ||
$(this).before(_mjmlCore.helpers.startConditionalTag + '\n <table border="0" cellpadding="0" cellspacing="0" align="' + align + '" width="' + width.replace('px', '') + '" style="width:' + width + ';"><tr><td style="padding:0;background-color:' + backgroundColor + ';">\n ' + _mjmlCore.helpers.endConditionalTag).after(_mjmlCore.helpers.startConditionalTag + '\n </td></tr></table>\n ' + _mjmlCore.helpers.endConditionalTag).removeAttr('data-background-color').removeAttr('data-align'); | ||
$(this).before(_mjmlCore.helpers.startConditionalTag + '\n <table role="presentation" border="0" cellpadding="0" cellspacing="0" align="' + align + '" width="' + width.replace('px', '') + '" style="width:' + width + ';"><tr><td style="padding:0;background-color:' + backgroundColor + ';">\n ' + _mjmlCore.helpers.endConditionalTag).after(_mjmlCore.helpers.startConditionalTag + '\n </td></tr></table>\n ' + _mjmlCore.helpers.endConditionalTag).removeAttr('data-background-color').removeAttr('data-align'); | ||
}); | ||
@@ -128,2 +128,3 @@ | ||
{ | ||
role: 'presentation', | ||
border: '0', | ||
@@ -145,7 +146,9 @@ cellPadding: '0', | ||
'table', | ||
{ style: this.styles.table }, | ||
{ role: 'presentation', style: this.styles.table }, | ||
_react2.default.createElement( | ||
'tbody', | ||
null, | ||
children | ||
_react2.default.Children.map(children, function (child) { | ||
return _react2.default.cloneElement(child, { columnElement: true }); | ||
}) | ||
) | ||
@@ -152,0 +155,0 @@ ) |
{ | ||
"name": "mjml-hero", | ||
"description": "mjml-hero", | ||
"version": "2.0.9", | ||
"version": "2.0.10", | ||
"main": "lib/index.js", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -127,2 +127,3 @@ ## mjml-hero | ||
padding-bottom | px | bottom offset | 0px | ||
vertical-align | top/middle/bottom | content vertical alignment | top | ||
@@ -129,0 +130,0 @@ ### mjml-hero-content |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25357
417
147