style approach (#19903)

This commit is contained in:
Luis Casillas 2022-05-05 15:29:09 -05:00 committed by GitHub
parent 2e2053f72f
commit 7c3fd06fd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,10 +94,11 @@ class CopyToClipboard extends React.Component {
{!this.props.hideTooltip ? (
<Tooltip
id="copy-to-clipboard-tooltip"
placement="top"
placement="topRight"
style={{ cursor }}
title={this.props.tooltipText}
trigger={['hover']}
arrowPointAtCenter
>
{this.getDecoratedCopyNode()}
</Tooltip>