diff --git a/.changeset/fair-ads-decide.md b/.changeset/fair-ads-decide.md new file mode 100644 index 0000000000..ddf63d9e19 --- /dev/null +++ b/.changeset/fair-ads-decide.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-catalog-graph': patch +--- + +Fix large icon rendering in catalog graph nodes diff --git a/plugins/catalog-graph/src/components/EntityRelationsGraph/EntityIcon.tsx b/plugins/catalog-graph/src/components/EntityRelationsGraph/EntityIcon.tsx index 47505afb93..71b36bf452 100644 --- a/plugins/catalog-graph/src/components/EntityRelationsGraph/EntityIcon.tsx +++ b/plugins/catalog-graph/src/components/EntityRelationsGraph/EntityIcon.tsx @@ -20,6 +20,8 @@ import { IconComponent } from '@backstage/core-plugin-api'; export function EntityIcon({ icon, + width, + height, ...props }: { icon: IconComponent | undefined; @@ -30,5 +32,12 @@ export function EntityIcon({ className?: string; }) { const Icon = (icon as OverridableComponent) ?? SvgIcon; - return ; + return ( + + ); }