Merge pull request #888 from getmaxun/ui-modals

fix: match generic modal with theme
This commit is contained in:
Karishma Shukla
2025-11-15 22:03:45 +05:30
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -165,7 +165,7 @@ export const MainMenu = ({ value = 'robots', handleChangeContent }: MainMenuProp
</Box>
</Paper>
<Modal open={sponsorModalOpen} onClose={() => setSponsorModalOpen(false)}>
<Box sx={{ position: 'absolute', top: '50%', left: '50%', transform: 'translate(-50%, -50%)', bgcolor: 'background.paper', borderRadius: 2, p: 4, width: 600 }}>
<Box sx={{ position: 'absolute', top: '50%', left: '50%', transform: 'translate(-50%, -50%)', bgcolor: 'rgba(13, 13, 13, 1)', borderRadius: 2, p: 4, width: 600 }}>
<Typography variant="h6" marginBottom={4}>
Support Maxun Open Source
</Typography>

View File

@@ -34,7 +34,7 @@ const defaultModalStyle = {
left: '50%',
transform: 'translate(-50%, -50%)',
width: 1000,
bgcolor: 'background.paper',
bgcolor: 'rgba(13, 13, 13, 1)',
boxShadow: 24,
p: 4,
height: '50%',