mirror of
https://github.com/Dvorinka/PPve.git
synced 2026-06-04 20:42:59 +00:00
i
This commit is contained in:
+9
-9
@@ -46,15 +46,15 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Get style values with fallbacks
|
// Get style values with fallbacks
|
||||||
const style = banner.Style || {};
|
const style = banner.style || {};
|
||||||
const borderRadius = style.BorderRadius || '8';
|
const borderRadius = style.borderRadius || '8';
|
||||||
const backgroundColor = style.BackgroundColor || '#f8f9fa';
|
const backgroundColor = style.backgroundColor || '#f8f9fa';
|
||||||
const textColor = style.TextColor || '#212529';
|
const textColor = style.textColor || '#212529';
|
||||||
const textAlign = style.TextAlign || 'left';
|
const textAlign = style.textAlign || 'left';
|
||||||
const fontSize = style.FontSize || '16px';
|
const fontSize = style.fontSize || '16px';
|
||||||
const padding = style.Padding || '20px';
|
const padding = style.padding || '20px';
|
||||||
const margin = style.Margin || '20px';
|
const margin = style.margin || '20px';
|
||||||
const imagePosition = style.ImagePosition || 'right';
|
const imagePosition = style.imagePosition || 'right';
|
||||||
|
|
||||||
// Create banner content container with proper styling
|
// Create banner content container with proper styling
|
||||||
const bannerStyle = `
|
const bannerStyle = `
|
||||||
|
|||||||
Reference in New Issue
Block a user