Skip to content

Commit

Permalink
fix: [GSW-2040] Improve UI for TranasctionApprovalModal
Browse files Browse the repository at this point in the history
  • Loading branch information
tfrg committed Jan 23, 2025
1 parent f07a933 commit 920ef68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ export const InfoCard = styled.div<InfoCardProps>`
}
}
svg {
width: 24px;
height: 24px;
width: 18px;
height: 18px;
}
}
`;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const TransactionApprovalModal = ({
<IconGnoswapLogo />
<span className="value">{location.origin}</span>
</InfoCard>
{!isAllowedDomain && <div className="error-text">Warning: Possible phishing. Check domain carefully.</div>}
{!isAllowedDomain && <div className="error-text">Possible phishing warning. Check domain carefully.</div>}
<InfoCard>
<div className="label">Account</div>
<div className="value">
Expand Down

0 comments on commit 920ef68

Please sign in to comment.