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 = `