michael-s-molina commented on code in PR #21952:
URL: https://github.com/apache/superset/pull/21952#discussion_r1006937614
##########
superset-frontend/src/components/MetadataBar/MetadataBar.tsx:
##########
@@ -149,7 +149,10 @@ const Item = ({
</StyledItem>
);
return isTruncated || collapsed || (tooltip && tooltip !== title) ? (
- <Tooltip title={<TootipContent>{tooltip}</TootipContent>}>
+ <Tooltip
+ placement="bottom"
Review Comment:
You can also add
[autoAdjustOverflow](https://ant.design/components/tooltip/#API) as a prop if
you want to ensure the original positioning is respected independently if
there's enough space available to display the tooltip. Keep in mind though,
that setting this to `false` can lead to hidden content when displaying the
tooltip, so I wouldn't change its default value.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]