Trying to fix backgrounds
This commit is contained in:
@@ -71,7 +71,7 @@ function App() {
|
|||||||
width: '100%',
|
width: '100%',
|
||||||
height: '100%',
|
height: '100%',
|
||||||
position: 'fixed',
|
position: 'fixed',
|
||||||
backgroundImage: `linear-gradient(${theme.backgroundColor}33, ${theme.backgroundColor}33), url(backgrounds/${theme.backgroundImage})`,
|
backgroundImage: `linear-gradient(${theme.backgroundColor}33, ${theme.backgroundColor}33), url(../backgrounds/${theme.backgroundImage})`,
|
||||||
backgroundSize: 'cover',
|
backgroundSize: 'cover',
|
||||||
backgroundRepeat: 'no-repeat',
|
backgroundRepeat: 'no-repeat',
|
||||||
backgroundPosition: 'center',
|
backgroundPosition: 'center',
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ export default function ThemeModalContent({ selectedTheme }: any) {
|
|||||||
<Stack
|
<Stack
|
||||||
style={{
|
style={{
|
||||||
width: '100%',
|
width: '100%',
|
||||||
background: `linear-gradient(${selectedTheme.backgroundColor}33, ${selectedTheme.backgroundColor}33), no-repeat center url(backgrounds/${selectedTheme.backgroundImage})`,
|
background: `linear-gradient(${selectedTheme.backgroundColor}33, ${selectedTheme.backgroundColor}33), no-repeat center url(../backgrounds/${selectedTheme.backgroundImage})`,
|
||||||
backgroundSize: 'cover',
|
backgroundSize: 'cover',
|
||||||
backgroundColor: selectedTheme.backgroundColor,
|
backgroundColor: selectedTheme.backgroundColor,
|
||||||
borderRadius: '10px',
|
borderRadius: '10px',
|
||||||
|
|||||||
@@ -334,7 +334,7 @@ function ThemesSettings({ theme }: any) {
|
|||||||
w={'100%'}
|
w={'100%'}
|
||||||
h={'75px'}
|
h={'75px'}
|
||||||
style={{
|
style={{
|
||||||
background: `linear-gradient(${theme.backgroundColor}33, ${theme.backgroundColor}33), no-repeat center url(backgrounds/${theme.backgroundImage})`,
|
background: `linear-gradient(${theme.backgroundColor}33, ${theme.backgroundColor}33), no-repeat center url(../backgrounds/${theme.backgroundImage})`,
|
||||||
backgroundSize: 'cover',
|
backgroundSize: 'cover',
|
||||||
backgroundColor: theme.backgroundColor,
|
backgroundColor: theme.backgroundColor,
|
||||||
border: `solid ${theme.borderColor}`,
|
border: `solid ${theme.borderColor}`,
|
||||||
|
|||||||
Reference in New Issue
Block a user