Skip to content

Commit

Permalink
move tooltips to the bottom because circuit is an iframe plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
LianaHus authored and Aniket-Engg committed Nov 30, 2023
1 parent 7f1e639 commit a5e99c0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/circuit-compiler/src/app/components/container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export function Container () {
<FormattedMessage id="circuit.compiler" />
</label>
<CustomTooltip
placement="top"
placement="bottom"
tooltipId="showCircumCompilerTooltip"
tooltipClasses="text-nowrap"
tooltipText='See compiler license'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -766,14 +766,19 @@ export const CompilerContainer = (props: CompilerContainerProps) => {
<FormattedMessage id="solidity.compiler" />
</label>
<CustomTooltip
placement="top"
placement="bottom"
tooltipId="promptCompilerTooltip"
tooltipClasses="text-nowrap"
tooltipText={<FormattedMessage id="solidity.addACustomCompilerWithURL" />}
>
<span className="far fa-plus border-0 p-0 ml-3" onClick={() => promptCompiler()}></span>
</CustomTooltip>
<CustomTooltip placement="top" tooltipId="showCompilerTooltip" tooltipClasses="text-nowrap" tooltipText={<FormattedMessage id="solidity.seeCompilerLicense" />}>
<CustomTooltip
placement="bottom"
tooltipId="showCompilerTooltip"
tooltipClasses="text-nowrap"
tooltipText={<FormattedMessage id="solidity.seeCompilerLicense" />}
>
<span className="far fa-file-certificate border-0 p-0 ml-2" onClick={() => showCompilerLicense()}></span>
</CustomTooltip>
<select
Expand Down

0 comments on commit a5e99c0

Please sign in to comment.