fix(api-docs): Consistent Typography in Entity HasApisCard

Signed-off-by: Gabriel Dugny <gabriel.dugny@believe.com>
This commit is contained in:
Gabriel Dugny
2025-02-28 19:48:13 +01:00
parent f41aec8345
commit 74871ccc3e
2 changed files with 10 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-api-docs': patch
---
Use consistent Typography in Entity HasApisCard
@@ -29,5 +29,9 @@ export const ApiTypeTitle = (props: { apiEntity: ApiEntity }) => {
const definition = config.getApiDefinitionWidget(apiEntity);
const type = definition ? definition.title : apiEntity.spec.type;
return <Typography component="span">{type}</Typography>;
return (
<Typography component="span" variant="inherit">
{type}
</Typography>
);
};