Merge pull request #24943 from suniljose25/master

Updating SupportButton title ui characteristics
This commit is contained in:
Vincenzo Scamporlino
2024-06-03 17:05:01 +02:00
committed by GitHub
2 changed files with 10 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/core-components': patch
---
Fixed a bug in `SupportButton` where the title was rendered with the characteristics of a button.
@@ -151,7 +151,11 @@ export function SupportButton(props: SupportButtonProps) {
autoFocusItem={Boolean(anchorEl)}
>
{title && (
<MenuItem alignItems="flex-start" className={classes.menuItem}>
<MenuItem
button={false}
alignItems="flex-start"
className={classes.menuItem}
>
<Typography variant="subtitle1">{title}</Typography>
</MenuItem>
)}