Bug fixes

This commit is contained in:
2025-06-19 18:15:15 -05:00
parent 89913155c6
commit d8e6f3da86
4 changed files with 8 additions and 5 deletions

View File

@@ -9,7 +9,10 @@ export function MainLayout() {
<Box
className={boxClasses.layoutContainer}
style={{
'--image-background': `linear-gradient(${theme.backgroundColor}33, ${theme.backgroundColor}33), url(../../api/backgroundImages/${theme.backgroundImage})`,
'--image-background':
theme.backgroundImage === 'none'
? undefined
: `linear-gradient(${theme.backgroundColor}33, ${theme.backgroundColor}33), url(../../api/backgroundImages/${theme.backgroundImage})`,
}}
>
<Outlet />