This commit is contained in:
Tomas Dvorak
2025-05-29 10:05:46 +02:00
parent 86311b2406
commit 8619cd9912
+9 -9
View File
@@ -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 = `