Is there a way to create a text overflow effect?
I'm currently displaying information in an MUI Card with a fixed width. Below is the code snippet:
cardContent: {
fontWeight: 700,
color: "#0E0E0E",
fontSize: "16px",
lineHeight: "24px",
},
cardComment: {
fontWeight: 400,
color: "#0672CB",
fontSize: "16px",
lineHeight: "24px",
textDecoration: "underline",
width: "100px",
"&:hover": {
color: "#0672CB",
textDecoration: "underline",
},
},
...
<Typography className={classes.cardContent}>
Comment: <a className={classes.cardComment}>{group.SizingComments}</a>
</Typography>