add tooltip at the right level

pull/4891/head
Joseph Izang 5 months ago committed by Aniket
parent 6b54d21967
commit 89e1724f5a
  1. 23
      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({
id: `solidity.${propertyName}`,
defaultMessage: help[propertyName]
})}
className="fas fa-question-circle"
aria-hidden="true"
></i>
</span>
<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