feat(catalog-react): correct alignment of EntityDisplayName's icon
Signed-off-by: Thomas Cardonne <thomas.cardonne@adevinta.com>
This commit is contained in:
@@ -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' },
|
||||
|
||||
Reference in New Issue
Block a user