Skip to content

Commit

Permalink
feat(capture): getting rid of unnecessary horizontal scroll Greenstan…
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlad-Pischaeff authored Aug 28, 2022
1 parent cbc0b62 commit d93c25f
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions src/components/CaptureDetailDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const useStyles = makeStyles((theme) => ({
fontSize: '0.8em',
color: 'rgba(0,0,0,0.5)',
},
root: {
paper: {
width: 340,
},
drawer: {
Expand Down Expand Up @@ -379,15 +379,14 @@ function CaptureDetailDialog(props) {
open={open}
className={classes.drawer}
onClose={handleClose}
classes={{ paper: classes.paper }}
>
<Grid className={classes.root}>
<Grid container direction="column">
<Tags
capture={renderCapture}
species={cdContext.species}
captureTags={cdContext.tags}
/>
</Grid>
<Grid container direction="column">
<Tags
capture={renderCapture}
species={cdContext.species}
captureTags={cdContext.tags}
/>
</Grid>
</Drawer>
</>
Expand Down

0 comments on commit d93c25f

Please sign in to comment.