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> </span>
) )
const questionMark = ( const questionMark = (
<span className="remixui_questionMark"> <CustomTooltip
<i tooltipText={intl.formatMessage({
title={intl.formatMessage({
id: `solidity.${propertyName}`, id: `solidity.${propertyName}`,
defaultMessage: help[propertyName] defaultMessage: help[propertyName]
})} })}
>
<span className="remixui_questionMark">
<i
className="fas fa-question-circle" className="fas fa-question-circle"
aria-hidden="true" aria-hidden="true"
></i> ></i>
</span> </span>
</CustomTooltip>
) )
return ( return (

Loading…
Cancel
Save