feat: refactor height width of output preview
This commit is contained in:
@@ -130,6 +130,7 @@ export const InterpretationLog: React.FC<InterpretationLogProps> = ({ isOpen, se
|
|||||||
return (
|
return (
|
||||||
<Grid container>
|
<Grid container>
|
||||||
<Grid item xs={12} md={9} lg={9}>
|
<Grid item xs={12} md={9} lg={9}>
|
||||||
|
<div style={{ height: '20px' }}></div>
|
||||||
<Button
|
<Button
|
||||||
onClick={toggleDrawer(true)}
|
onClick={toggleDrawer(true)}
|
||||||
variant="contained"
|
variant="contained"
|
||||||
@@ -141,7 +142,7 @@ export const InterpretationLog: React.FC<InterpretationLogProps> = ({ isOpen, se
|
|||||||
background: '#ff00c3',
|
background: '#ff00c3',
|
||||||
border: 'none',
|
border: 'none',
|
||||||
padding: '10px 20px',
|
padding: '10px 20px',
|
||||||
width: '900px',
|
width: "100%",
|
||||||
overflow: 'hidden',
|
overflow: 'hidden',
|
||||||
textAlign: 'left',
|
textAlign: 'left',
|
||||||
justifyContent: 'flex-start',
|
justifyContent: 'flex-start',
|
||||||
@@ -163,8 +164,8 @@ export const InterpretationLog: React.FC<InterpretationLogProps> = ({ isOpen, se
|
|||||||
background: `${darkMode ? '#1e2124' : 'white'}`,
|
background: `${darkMode ? '#1e2124' : 'white'}`,
|
||||||
color: `${darkMode ? 'white' : 'black'}`,
|
color: `${darkMode ? 'white' : 'black'}`,
|
||||||
padding: '10px',
|
padding: '10px',
|
||||||
height: 500,
|
height: window.innerHeight * 0.7,
|
||||||
width: width - 10,
|
width: window.innerWidth * 0.75,
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
borderRadius: '10px 10px 0 0',
|
borderRadius: '10px 10px 0 0',
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user