Skip to content

Commit

Permalink
#713 updated styling of category column in row of tag detail
Browse files Browse the repository at this point in the history
  • Loading branch information
matej-vavrek committed Dec 16, 2021
1 parent d40849b commit 6198ec4
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions js/components/preview/tags/details/tagDetailRow.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,6 @@ const useStyles = makeStyles(theme => ({
backgroundColor: theme.palette.success.dark,
color: theme.palette.success.contrastText
}
},
category: {
overflowWrap: 'break-word'
}
}));

Expand Down Expand Up @@ -172,9 +169,9 @@ const TagDetailRow = memo(({ tag, moleculesToEditIds, moleculesToEdit }) => {
></TagView>
</Grid>
{/* category */}
<Grid item xs={1}>
<Grid item xs={1} wrap="nowrap">
<Tooltip title={CATEGORY_TYPE_BY_ID[tag.category_id]}>
<Typography variant="body2" className={classes.category}>
<Typography variant="body2" noWrap>
{CATEGORY_TYPE_BY_ID[tag.category_id]}
</Typography>
</Tooltip>
Expand Down

0 comments on commit 6198ec4

Please sign in to comment.