Merge pull request #27625 from RoadieHQ/fix-memberslist-card-overflow
Fix MembersListCard description overflow.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-org': patch
|
||||
---
|
||||
|
||||
Fix rendering of description in MembersListCard. Add guardrails for potential long texts to prevent it from breaking the UI.
|
||||
@@ -112,7 +112,9 @@ const MemberComponent = (props: { member: UserEntity }) => {
|
||||
</Link>
|
||||
)}
|
||||
{description && (
|
||||
<Typography variant="subtitle2">{description}</Typography>
|
||||
<Typography variant="subtitle2">
|
||||
<OverflowTooltip text={description} line={5} />
|
||||
</Typography>
|
||||
)}
|
||||
</Box>
|
||||
</Box>
|
||||
|
||||
Reference in New Issue
Block a user