feat: change outpreview styling
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user