From 8619cd9912b930bce99284fbd836f7558b8daeb2 Mon Sep 17 00:00:00 2001 From: Tomas Dvorak Date: Thu, 29 May 2025 10:05:46 +0200 Subject: [PATCH] i --- index.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/index.html b/index.html index f7e2f8e..0b65578 100644 --- a/index.html +++ b/index.html @@ -46,15 +46,15 @@ } // Get style values with fallbacks - const style = banner.Style || {}; - const borderRadius = style.BorderRadius || '8'; - const backgroundColor = style.BackgroundColor || '#f8f9fa'; - const textColor = style.TextColor || '#212529'; - const textAlign = style.TextAlign || 'left'; - const fontSize = style.FontSize || '16px'; - const padding = style.Padding || '20px'; - const margin = style.Margin || '20px'; - const imagePosition = style.ImagePosition || 'right'; + const style = banner.style || {}; + const borderRadius = style.borderRadius || '8'; + const backgroundColor = style.backgroundColor || '#f8f9fa'; + const textColor = style.textColor || '#212529'; + const textAlign = style.textAlign || 'left'; + const fontSize = style.fontSize || '16px'; + const padding = style.padding || '20px'; + const margin = style.margin || '20px'; + const imagePosition = style.imagePosition || 'right'; // Create banner content container with proper styling const bannerStyle = `