Merge pull request #24895 from leboncoin/fix-overflowtooltip
fix(core-components): set variant to inherit on OverflowTooltip Typography
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/core-components': patch
|
||||
---
|
||||
|
||||
Use `inherit` variant on OverflowTooltip underlying Typography component.
|
||||
@@ -53,7 +53,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