feat(catalog-react): correct alignment of EntityDisplayName's icon

Signed-off-by: Thomas Cardonne <thomas.cardonne@adevinta.com>
This commit is contained in:
Thomas Cardonne
2024-07-24 11:45:51 +02:00
parent 6010595e1f
commit 7ca331cc2b
2 changed files with 8 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-react': patch
---
Correct `EntityDisplayName`'s icon alignment with the text.
@@ -38,7 +38,9 @@ const useStyles = makeStyles(
icon: {
marginRight: theme.spacing(0.5),
color: theme.palette.text.secondary,
lineHeight: 0,
'& svg': {
verticalAlign: 'middle',
},
},
}),
{ name: 'CatalogReactEntityDisplayName' },