From a6faec9f4f982231bde98ea1fdeceed80934a645 Mon Sep 17 00:00:00 2001 From: Vladimir Dvorak Date: Tue, 20 Jan 2026 10:26:36 +0100 Subject: [PATCH] Change padding-bottom from pixels to percentage --- Mjml.Net/Components/Body/HeroComponent.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); }