From 20cee7d167b4ce33a1dde8d98eddf038b6efc772 Mon Sep 17 00:00:00 2001 From: Amey Bhagwat Date: Tue, 13 Oct 2026 17:16:54 +0530 Subject: [PATCH] Photowall / Spotlight Presenter mode: Added background image configuration in fullscreen mode which was misssing. --- src/index.css | 19 +++++++++++++++++++ src/pages/PhotoWallPresentPage.tsx | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/src/index.css b/src/index.css index bf07ae5..18104bb 100644 --- a/src/index.css +++ b/src/index.css @@ -39,6 +39,25 @@ body { background: transparent; } +/* The fullscreen element doesn't inherit 's background; separate rules so an unknown selector doesn't drop the other */ +.eb-present-root:fullscreen { + background-color: var(--theme-bg-color, #000); + background-image: var(--theme-bg-image, none); + background-size: var(--theme-bg-size, cover); + background-repeat: var(--theme-bg-repeat, no-repeat); + background-position: var(--theme-bg-position, center center); + overflow-y: auto; +} + +.eb-present-root:-webkit-full-screen { + background-color: var(--theme-bg-color, #000); + background-image: var(--theme-bg-image, none); + background-size: var(--theme-bg-size, cover); + background-repeat: var(--theme-bg-repeat, no-repeat); + background-position: var(--theme-bg-position, center center); + overflow-y: auto; +} + .eb-gradient-banner { background: linear-gradient( 34.8deg, diff --git a/src/pages/PhotoWallPresentPage.tsx b/src/pages/PhotoWallPresentPage.tsx index 0c4b630..92534e8 100644 --- a/src/pages/PhotoWallPresentPage.tsx +++ b/src/pages/PhotoWallPresentPage.tsx @@ -520,7 +520,7 @@ export function PhotoWallPresentPage({ spotlightMode = false }: { spotlightMode? : singleActivityTitle(selectedSources, (data as SpotlightPresentData).activityTitles, selectedQuiz?.name); return ( -
+