diff --git a/.changeset/beige-melons-notice.md b/.changeset/beige-melons-notice.md new file mode 100644 index 0000000..5edc6fa --- /dev/null +++ b/.changeset/beige-melons-notice.md @@ -0,0 +1,5 @@ +--- +'@dweber019/backstage-plugin-simple-icons': patch +--- + +Fix size of icons. diff --git a/plugins/simple-icons/src/entityPresentationApi.ts b/plugins/simple-icons/src/entityPresentationApi.ts index 1ceed0d..db3b0f9 100644 --- a/plugins/simple-icons/src/entityPresentationApi.ts +++ b/plugins/simple-icons/src/entityPresentationApi.ts @@ -65,7 +65,7 @@ export class SimpleIconsEntityPresentationApi implements EntityPresentationApi { return icon.slug === annotation; }).map(key => { const icon = (icons as any)[key] as SimpleIcon; - return createIcon(icon, this.color, { fontSize: 'inherit' }); + return createIcon(icon, this.color, { fontSize: 'inherit', width: 17, height: 17, y: 10, x: 10 }); }); if (simpleIcons.length > 0) { return simpleIcons[0];