Skip to content

Commit

Permalink
update tool tip
Browse files Browse the repository at this point in the history
  • Loading branch information
elclandestin0 committed Jan 7, 2025
1 parent a8aa7d7 commit ac6149e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -260,10 +260,6 @@
/* 150% */
}

.manualGasMessageTooltip {
background: #B54708;
}

@media (max-width: 1199px) {
.container {
width: 100%;
Expand All @@ -285,4 +281,13 @@
.arrowIcon {
display: none;
}
}

.customTooltip {
max-width: 200px;
padding: 10px;
border-radius: 8px;
white-space: normal;
overflow: hidden;
text-align: center;
}
Original file line number Diff line number Diff line change
Expand Up @@ -282,14 +282,15 @@ const BridgeView = ({
Claim transaction may be required on {selectedHighNetwork.displayName}
</div>
<Tooltip
content={`
Gas requirements may change on the destination chain, requiring manual completion. Check the Activity tab for updates.
`}
label=' Gas requirements may change on the destination chain, requiring manual completion. Check the Activity tab for updates.'
position='top'
className={styles.manualGasMessageTooltip}
multiline
radius={'8px'}
arrowSize={8}
withArrow
arrowOffset={14}
events={{ hover: true, focus: true, touch: true }}
label='Gas requirements may change on the destination chain, requiring manual completion. Check the Activity tab for updates.'
>
<IconAlertCircle stroke='#FFFAEB' height={12} width={12} />
<IconAlertCircle stroke='#FFFAEB' height={16} width={16} />
</Tooltip>
</div>}
<ActionButton
Expand Down

0 comments on commit ac6149e

Please sign in to comment.