feat: change outpreview styling

This commit is contained in:
RohitR311
2025-01-08 21:04:43 +05:30
parent d6374ba1b7
commit 4df8b4c096

View File

@@ -125,7 +125,7 @@ export const InterpretationLog: React.FC<InterpretationLogProps> = ({ isOpen, se
} }
}, [hasScrapeListAction, hasScrapeSchemaAction, hasScreenshotAction, setIsOpen]); }, [hasScrapeListAction, hasScrapeSchemaAction, hasScreenshotAction, setIsOpen]);
const isDarkMode = useThemeMode(); const { darkMode} = useThemeMode();
return ( return (
<Grid container> <Grid container>
@@ -135,9 +135,7 @@ export const InterpretationLog: React.FC<InterpretationLogProps> = ({ isOpen, se
variant="contained" variant="contained"
color="primary" color="primary"
sx={{ sx={{
marginTop: '10px',
borderRadius: ' 0 0 10px 10px',
color: 'white', color: 'white',
position: 'absolute', position: 'absolute',
background: '#ff00c3', background: '#ff00c3',
@@ -162,8 +160,8 @@ export const InterpretationLog: React.FC<InterpretationLogProps> = ({ isOpen, se
onOpen={toggleDrawer(true)} onOpen={toggleDrawer(true)}
PaperProps={{ PaperProps={{
sx: { sx: {
background: `${isDarkMode ? '#1e2124' : 'white'}`, background: `${darkMode ? '#1e2124' : 'white'}`,
color: `${isDarkMode ? 'white' : 'black'}`, color: `${darkMode ? 'white' : 'black'}`,
padding: '10px', padding: '10px',
height: 500, height: 500,
width: width - 10, width: width - 10,