Bug fixes
This commit is contained in:
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user