diff --git a/plugins/catalog-react/src/components/EntityDisplayName/EntityDisplayName.tsx b/plugins/catalog-react/src/components/EntityDisplayName/EntityDisplayName.tsx index 3e722efb46..75a2950908 100644 --- a/plugins/catalog-react/src/components/EntityDisplayName/EntityDisplayName.tsx +++ b/plugins/catalog-react/src/components/EntityDisplayName/EntityDisplayName.tsx @@ -42,10 +42,6 @@ const useStyles = makeStyles( verticalAlign: 'middle', }, }, - breakTextOverflow: { - overflow: 'hidden', - wordBreak: 'break-word', - }, }), { name: 'CatalogReactEntityDisplayName' }, ); @@ -81,8 +77,7 @@ export const EntityDisplayName = ( ); // The innermost "body" content - let content =
{primaryTitle}
; - + let content = <>{primaryTitle}; // Optionally an icon, and wrapper around them both content = ( diff --git a/plugins/catalog/src/components/AboutCard/AboutContent.tsx b/plugins/catalog/src/components/AboutCard/AboutContent.tsx index f6d2d80264..07547c8949 100644 --- a/plugins/catalog/src/components/AboutCard/AboutContent.tsx +++ b/plugins/catalog/src/components/AboutCard/AboutContent.tsx @@ -132,6 +132,7 @@ export function AboutContent(props: AboutContentProps) { {ownedByRelations.length > 0 && ( diff --git a/plugins/catalog/src/components/AboutCard/AboutField.tsx b/plugins/catalog/src/components/AboutCard/AboutField.tsx index 7587867af0..15e02307f0 100644 --- a/plugins/catalog/src/components/AboutCard/AboutField.tsx +++ b/plugins/catalog/src/components/AboutCard/AboutField.tsx @@ -48,11 +48,12 @@ export interface AboutFieldProps { value?: string; gridSizes?: Record; children?: React.ReactNode; + className?: string; } /** @public */ export function AboutField(props: AboutFieldProps) { - const { label, value, gridSizes, children } = props; + const { label, value, gridSizes, children, className } = props; const classes = useStyles(); const childElements = useElementFilter(children, c => c.getElements()); @@ -67,7 +68,7 @@ export function AboutField(props: AboutFieldProps) { ); return ( - + {label}