From c51f28029094933eac20f22832c027a2942fc549 Mon Sep 17 00:00:00 2001 From: dlpzx Date: Fri, 12 Jan 2024 12:20:15 +0100 Subject: [PATCH 1/2] Add word-wrap in strings in share lists --- .../Shares/components/ShareBoxListItem.js | 24 +++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/frontend/src/modules/Shares/components/ShareBoxListItem.js b/frontend/src/modules/Shares/components/ShareBoxListItem.js index 96dc241e3..ad7381c0a 100644 --- a/frontend/src/modules/Shares/components/ShareBoxListItem.js +++ b/frontend/src/modules/Shares/components/ShareBoxListItem.js @@ -39,7 +39,11 @@ export const ShareBoxListItem = ({ share }) => { Request owner - + {`${share.principal.SamlGroupName}`} @@ -55,7 +59,11 @@ export const ShareBoxListItem = ({ share }) => { IAM role name - + {`${share.principal.principalIAMRoleName}`} @@ -71,7 +79,11 @@ export const ShareBoxListItem = ({ share }) => { Dataset - + {`${share.dataset.datasetName}`} @@ -84,7 +96,11 @@ export const ShareBoxListItem = ({ share }) => { px: 3 }} > - + Dataset Owner From 8a8a186614199cc06c0119847d894cbbbbcd665f Mon Sep 17 00:00:00 2001 From: dlpzx Date: Fri, 12 Jan 2024 14:10:53 +0100 Subject: [PATCH 2/2] Adjust grid items for big screens --- .../modules/Shares/components/ShareBoxListItem.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/frontend/src/modules/Shares/components/ShareBoxListItem.js b/frontend/src/modules/Shares/components/ShareBoxListItem.js index ad7381c0a..2788c34b7 100644 --- a/frontend/src/modules/Shares/components/ShareBoxListItem.js +++ b/frontend/src/modules/Shares/components/ShareBoxListItem.js @@ -17,7 +17,7 @@ export const ShareBoxListItem = ({ share }) => { }} > - + { - + { - + { - + { - + { - + - + {share.statistics.sharedItems > 0 && (