Merge pull request #1786 from RafaelTaranto/fix/small-tooltip-fixes

LAM-540 fix: small tooltip adjustments
This commit is contained in:
Rafael Taranto 2025-02-15 07:21:03 +00:00 committed by GitHub
commit 48eb658c20
3 changed files with 14 additions and 8 deletions

View file

@ -11,7 +11,7 @@ import CloseIcon from 'src/styling/icons/action/close/zodiac.svg?react'
import ReverseSettingsIcon from 'src/styling/icons/circle buttons/settings/white.svg?react' import ReverseSettingsIcon from 'src/styling/icons/circle buttons/settings/white.svg?react'
import SettingsIcon from 'src/styling/icons/circle buttons/settings/zodiac.svg?react' import SettingsIcon from 'src/styling/icons/circle buttons/settings/zodiac.svg?react'
import { Link, Button, IconButton } from 'src/components/buttons' import { Link, Button, IconButton, SupportLinkButton } from 'src/components/buttons'
import { Switch } from 'src/components/inputs' import { Switch } from 'src/components/inputs'
import { fromNamespace, toNamespace } from 'src/utils/config' import { fromNamespace, toNamespace } from 'src/utils/config'
@ -275,10 +275,13 @@ const Blacklist = () => {
<Label2>{rejectAddressReuse ? 'On' : 'Off'}</Label2> <Label2>{rejectAddressReuse ? 'On' : 'Off'}</Label2>
<HelpTooltip width={304}> <HelpTooltip width={304}>
<P> <P>
This option requires a user to scan a fresh wallet address if For details about rejecting address reuse, please read the
they attempt to scan one that had been previously used for a relevant knowledgebase article:
transaction in your network.
</P> </P>
<SupportLinkButton
link="https://support.lamassu.is/hc/en-us/articles/360033622211-Reject-Address-Reuse"
label="Reject Address Reuse"
/>
</HelpTooltip> </HelpTooltip>
</Box> </Box>
<Link color="primary" onClick={() => setShowModal(true)}> <Link color="primary" onClick={() => setShowModal(true)}>

View file

@ -135,7 +135,7 @@ const Commissions = ({ name: SCREEN_KEY }) => {
/> />
<SupportLinkButton <SupportLinkButton
link="https://support.lamassu.is/hc/en-us/articles/360061558352-Commissions-and-Profit-Calculations" link="https://support.lamassu.is/hc/en-us/articles/360061558352-Commissions-and-Profit-Calculations"
label="SCommissions and Profit Calculations" label="Commissions and Profit Calculations"
bottomSpace="1" bottomSpace="1"
/> />
</HelpTooltip> </HelpTooltip>

View file

@ -188,10 +188,13 @@ const Triggers = () => {
</Label2> </Label2>
<HelpTooltip width={304}> <HelpTooltip width={304}>
<P> <P>
This option requires a user to scan a different cryptocurrency For details about rejecting address reuse, please read the
address if they attempt to scan one that had been previously relevant knowledgebase article:
used for a transaction in your network
</P> </P>
<SupportLinkButton
link="https://support.lamassu.is/hc/en-us/articles/360033622211-Reject-Address-Reuse"
label="Reject Address Reuse"
/>
</HelpTooltip> </HelpTooltip>
</Box> </Box>
</Box> </Box>