Skip to content

Commit

Permalink
[#378] fix text wrapping on review governance action submission
Browse files Browse the repository at this point in the history
  • Loading branch information
MSzalowski committed Mar 13, 2024
1 parent 401b348 commit 1cb99d2
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,14 @@ export const ReviewCreatedGovernanceAction = ({
key.charAt(0).toUpperCase() + key.slice(1).replace(/_/g, " ");

return (
<Box sx={{ mb: 5 }}>
<Box sx={{ mb: 5, width: "100%" }}>
<Typography color="neutralGray" fontWeight={400} variant="body2">
{label}
</Typography>
<Typography sx={{ mt: 0.5 }} variant="body2">
<Typography
sx={{ mt: 0.5, overflow: "hidden", textOverflow: "ellipsis" }}
variant="body2"
>
{value as string}
</Typography>
</Box>
Expand Down

0 comments on commit 1cb99d2

Please sign in to comment.