diff --git a/plugins/catalog-react/src/components/EntityDisplayName/EntityDisplayName.tsx b/plugins/catalog-react/src/components/EntityDisplayName/EntityDisplayName.tsx index 7a00ff3809..3e722efb46 100644 --- a/plugins/catalog-react/src/components/EntityDisplayName/EntityDisplayName.tsx +++ b/plugins/catalog-react/src/components/EntityDisplayName/EntityDisplayName.tsx @@ -42,6 +42,10 @@ const useStyles = makeStyles( verticalAlign: 'middle', }, }, + breakTextOverflow: { + overflow: 'hidden', + wordBreak: 'break-word', + }, }), { name: 'CatalogReactEntityDisplayName' }, ); @@ -77,16 +81,7 @@ export const EntityDisplayName = ( ); // The innermost "body" content - let content = ( -
- {primaryTitle} -
- ); + let content =
{primaryTitle}
; // Optionally an icon, and wrapper around them both content = (