Updating SupportButton title ui characteristics

Signed-off-by: Sunil Jose <bsuniljose25@gmail.com>
This commit is contained in:
Sunil Jose
2024-05-27 22:33:02 +05:30
parent 5868112baf
commit 57d7582e81
2 changed files with 10 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/core-components': patch
---
Fixed 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>
)}