fix(core-components): set variant to inherit on OverflowTooltip Typography
Signed-off-by: Thomas Cardonne <thomas.cardonne@adevinta.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/core-components': patch
|
||||
---
|
||||
|
||||
Use `inherit` variant on OverflowTooltip underlying Typography component.
|
||||
@@ -52,7 +52,9 @@ export function OverflowTooltip(props: Props) {
|
||||
title={props.title ?? (props.text || '')}
|
||||
placement={props.placement}
|
||||
>
|
||||
<Typography className={classes.typo}>{props.text}</Typography>
|
||||
<Typography className={classes.typo} variant="inherit">
|
||||
{props.text}
|
||||
</Typography>
|
||||
</Tooltip>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user