add tooltip at the right level

pull/5370/head
Joseph Izang 5 months ago committed by Aniket
parent 48b667db7d
commit 58c593ccde
  1. 9
      libs/remix-ui/solidity-compile-details/src/lib/components/solidityCompile.tsx

@ -29,16 +29,19 @@ export default function SolidityCompile({ contractProperties, selectedContract,
</span>
)
const questionMark = (
<span className="remixui_questionMark">
<i
title={intl.formatMessage({
<CustomTooltip
tooltipText={intl.formatMessage({
id: `solidity.${propertyName}`,
defaultMessage: help[propertyName]
})}
>
<span className="remixui_questionMark">
<i
className="fas fa-question-circle"
aria-hidden="true"
></i>
</span>
</CustomTooltip>
)
return (

Loading…
Cancel
Save