Skip to content

Commit

Permalink
Add word-wrap in strings in share lists
Browse files Browse the repository at this point in the history
  • Loading branch information
dlpzx committed Jan 12, 2024
1 parent b2c721c commit c51f280
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions frontend/src/modules/Shares/components/ShareBoxListItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@ export const ShareBoxListItem = ({ share }) => {
<Typography color="textPrimary" variant="body1">
Request owner
</Typography>
<Typography color="textSecondary" variant="body1">
<Typography
color="textSecondary"
variant="body1"
style={{ wordWrap: 'break-word' }}
>
{`${share.principal.SamlGroupName}`}
</Typography>
</Box>
Expand All @@ -55,7 +59,11 @@ export const ShareBoxListItem = ({ share }) => {
<Typography color="textPrimary" variant="body1">
IAM role name
</Typography>
<Typography color="textSecondary" variant="body1">
<Typography
color="textSecondary"
variant="body1"
style={{ wordWrap: 'break-word' }}
>
{`${share.principal.principalIAMRoleName}`}
</Typography>
</Box>
Expand All @@ -71,7 +79,11 @@ export const ShareBoxListItem = ({ share }) => {
<Typography color="textPrimary" variant="body1">
Dataset
</Typography>
<Typography color="textSecondary" variant="body1">
<Typography
color="textSecondary"
variant="body1"
style={{ wordWrap: 'break-word' }}
>
{`${share.dataset.datasetName}`}
</Typography>
</Box>
Expand All @@ -84,7 +96,11 @@ export const ShareBoxListItem = ({ share }) => {
px: 3
}}
>
<Typography color="textPrimary" variant="body1">
<Typography
color="textPrimary"
variant="body1"
style={{ wordWrap: 'break-word' }}
>
Dataset Owner
</Typography>
<Typography color="textSecondary" variant="body1">
Expand Down

0 comments on commit c51f280

Please sign in to comment.