Merge pull request #29007 from GabDug/fix/api-card-ui

fix(api-docs): Consistent Typography in Entity HasApisCard
This commit is contained in:
Ben Lambert
2025-03-07 08:20:01 +01:00
committed by GitHub
2 changed files with 10 additions and 1 deletions
@@ -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>
);
};