diff --git a/plugins/org/src/components/Cards/Group/MembersList/MembersListCard.tsx b/plugins/org/src/components/Cards/Group/MembersList/MembersListCard.tsx
index 7e5b683bf1..65c3144d30 100644
--- a/plugins/org/src/components/Cards/Group/MembersList/MembersListCard.tsx
+++ b/plugins/org/src/components/Cards/Group/MembersList/MembersListCard.tsx
@@ -59,15 +59,14 @@ const useStyles = makeStyles((theme: Theme) =>
flex: '1',
minWidth: '0px',
},
- email: {
+ overflowingText: {
overflow: 'hidden',
- whiteSpace: 'nowrap',
textOverflow: 'ellipsis',
display: 'inline-block',
maxWidth: '100%',
'&:hover': {
overflow: 'visible',
- whiteSpace: 'normal',
+ wordBreak: 'break-word',
},
},
}),
@@ -108,6 +107,7 @@ const MemberComponent = (props: { member: UserEntity }) => {
>
{
{profile?.email && (
-
+
{profile.email}
)}
diff --git a/plugins/org/src/components/Cards/OwnershipCard/ComponentsGrid.tsx b/plugins/org/src/components/Cards/OwnershipCard/ComponentsGrid.tsx
index 567c7ad3bc..edd8cc126f 100644
--- a/plugins/org/src/components/Cards/OwnershipCard/ComponentsGrid.tsx
+++ b/plugins/org/src/components/Cards/OwnershipCard/ComponentsGrid.tsx
@@ -44,8 +44,16 @@ const useStyles = makeStyles((theme: BackstageTheme) =>
},
height: '100%',
},
- bold: {
+ title: {
fontWeight: theme.typography.fontWeightBold,
+ textAlign: 'center',
+ overflow: 'hidden',
+ textOverflow: 'ellipsis',
+ maxWidth: '100%',
+ '&:hover': {
+ overflow: 'visible',
+ wordBreak: 'break-word',
+ },
},
entityTypeBox: {
background: (props: { type: string }) =>
@@ -77,10 +85,10 @@ const EntityCountTile = ({
flexDirection="column"
alignItems="center"
>
-
+
{counter}
-
+
{pluralize(rawTitle.toLocaleUpperCase('en-US'), counter)}
{type && {kind}}