Merge pull request #25758 from leboncoin/fix-entity-display-name-icon-align

feat(catalog-react): correct alignment of EntityDisplayName's icon
This commit is contained in:
Patrik Oldsberg
2024-07-25 00:36:58 +02:00
committed by GitHub
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' },