Skip to content

Commit a5e99c0

Browse files
LianaHusAniket-Engg
authored andcommitted
move tooltips to the bottom because circuit is an iframe plugin
1 parent 7f1e639 commit a5e99c0

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

apps/circuit-compiler/src/app/components/container.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export function Container () {
5757
<FormattedMessage id="circuit.compiler" />
5858
</label>
5959
<CustomTooltip
60-
placement="top"
60+
placement="bottom"
6161
tooltipId="showCircumCompilerTooltip"
6262
tooltipClasses="text-nowrap"
6363
tooltipText='See compiler license'

libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -766,14 +766,19 @@ export const CompilerContainer = (props: CompilerContainerProps) => {
766766
<FormattedMessage id="solidity.compiler" />
767767
</label>
768768
<CustomTooltip
769-
placement="top"
769+
placement="bottom"
770770
tooltipId="promptCompilerTooltip"
771771
tooltipClasses="text-nowrap"
772772
tooltipText={<FormattedMessage id="solidity.addACustomCompilerWithURL" />}
773773
>
774774
<span className="far fa-plus border-0 p-0 ml-3" onClick={() => promptCompiler()}></span>
775775
</CustomTooltip>
776-
<CustomTooltip placement="top" tooltipId="showCompilerTooltip" tooltipClasses="text-nowrap" tooltipText={<FormattedMessage id="solidity.seeCompilerLicense" />}>
776+
<CustomTooltip
777+
placement="bottom"
778+
tooltipId="showCompilerTooltip"
779+
tooltipClasses="text-nowrap"
780+
tooltipText={<FormattedMessage id="solidity.seeCompilerLicense" />}
781+
>
777782
<span className="far fa-file-certificate border-0 p-0 ml-2" onClick={() => showCompilerLicense()}></span>
778783
</CustomTooltip>
779784
<select

0 commit comments

Comments
 (0)