diff --git a/frontend/src/components/UiElements/elements/GalleryElement.tsx b/frontend/src/components/UiElements/elements/GalleryElement.tsx index b66ff8c..f1bbfd4 100644 --- a/frontend/src/components/UiElements/elements/GalleryElement.tsx +++ b/frontend/src/components/UiElements/elements/GalleryElement.tsx @@ -52,9 +52,15 @@ const GalleryElement: React.FC = ({ return font ? getFontStyle(font) : { fontFamily: fontKey }; }, [element.galleryTextFontFamily]); + // Extract backgroundColor from style to apply to inner content wrapper + const { backgroundColor, ...outerStyle } = style; + return ( -
-
+
+
{/* Header image */} {headerImageUrl && ( // eslint-disable-next-line @next/next/no-img-element