feat: set width as per browser window
This commit is contained in:
@@ -70,7 +70,7 @@ export const InterpretationLog = () => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<button onClick={toggleDrawer(true)} style={{ color: 'white', background: '#3f4853', border: 'none', padding: '10px 20px', width: '100%', textAlign: 'left' }}>
|
<button onClick={toggleDrawer(true)} style={{ color: 'white', background: '#3f4853', border: 'none', padding: '10px 20px', width: 1280, textAlign: 'left' }}>
|
||||||
Interpretation Log
|
Interpretation Log
|
||||||
</button>
|
</button>
|
||||||
<SwipeableDrawer
|
<SwipeableDrawer
|
||||||
@@ -79,7 +79,7 @@ export const InterpretationLog = () => {
|
|||||||
onClose={toggleDrawer(false)}
|
onClose={toggleDrawer(false)}
|
||||||
onOpen={toggleDrawer(true)}
|
onOpen={toggleDrawer(true)}
|
||||||
PaperProps={{
|
PaperProps={{
|
||||||
sx: { background: '#19171c', color: 'white', padding: '10px', height: 720, width: width - 10 }
|
sx: { background: '#19171c', color: 'white', padding: '10px', height: 720, width: width - 10, display: 'flex' }
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Typography variant="h6" gutterBottom>
|
<Typography variant="h6" gutterBottom>
|
||||||
|
|||||||
Reference in New Issue
Block a user