Background fixes

This commit is contained in:
Sean Edmunds
2024-12-04 15:13:45 -06:00
parent 2fbd2af22f
commit f94d45953e
7 changed files with 11 additions and 9 deletions

View File

@@ -18,7 +18,7 @@ function Settings({ theme }: any) {
className={actionIconClasses.backButton}
classNames={actionIconClasses}
component='a'
href='/trigger'
href={`/${import.meta.env.VITE_BASE_URL}`}
>
<FiArrowLeftCircle />
</ActionIcon>

View File

@@ -73,7 +73,7 @@ export default function ThemeModalContent({ selectedTheme }: any) {
<Stack
style={{
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',
backgroundColor: selectedTheme.backgroundColor,
borderRadius: '10px',

View File

@@ -334,7 +334,7 @@ function ThemesSettings({ theme }: any) {
w={'100%'}
h={'75px'}
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',
backgroundColor: theme.backgroundColor,
border: `solid ${theme.borderColor}`,