diff --git a/Mjml.Net/Components/Body/HeroComponent.cs b/Mjml.Net/Components/Body/HeroComponent.cs index d02b51d..0eef2fb 100644 --- a/Mjml.Net/Components/Body/HeroComponent.cs +++ b/Mjml.Net/Components/Body/HeroComponent.cs @@ -165,7 +165,7 @@ static void MagicId(IHtmlRenderer renderer, double backgroundRatio) { renderer.StartElement("td") // Style td-fluid .Style("mso-padding-bottom-alt", "0") - .Style("padding-bottom", $"{backgroundRatio}px") + .Style("padding-bottom", $"{backgroundRatio}%") .Style("width", "0.01%"); renderer.EndElement("td"); }