From 0bae1a2bc7c540b0feb6de274bbb01e9bea91478 Mon Sep 17 00:00:00 2001 From: DMY <147dmy@gmail.com> Date: Thu, 19 Dec 2024 11:58:26 +0800 Subject: [PATCH] style tuning --- src/ui/views/Approval/components/Connect/index.tsx | 2 ++ src/ui/views/Approval/components/TextActions/index.tsx | 4 +++- src/ui/views/GasAccount/components/DepositPopup.tsx | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/ui/views/Approval/components/Connect/index.tsx b/src/ui/views/Approval/components/Connect/index.tsx index a9a041c799d..5b0908326af 100644 --- a/src/ui/views/Approval/components/Connect/index.tsx +++ b/src/ui/views/Approval/components/Connect/index.tsx @@ -79,6 +79,8 @@ const ConnectWrapper = styled.div` line-height: 26px; text-align: center; color: var(--r-neutral-title-1, #192945); + word-wrap: break-word; + max-width: 100%; } } } diff --git a/src/ui/views/Approval/components/TextActions/index.tsx b/src/ui/views/Approval/components/TextActions/index.tsx index adab3e5b142..4ec64385ae6 100644 --- a/src/ui/views/Approval/components/TextActions/index.tsx +++ b/src/ui/views/Approval/components/TextActions/index.tsx @@ -181,7 +181,9 @@ const Actions = ({ - {data && } + {data?.createKey || data?.verifyAddress || data?.common ? ( + + ) : null} {data && (
diff --git a/src/ui/views/GasAccount/components/DepositPopup.tsx b/src/ui/views/GasAccount/components/DepositPopup.tsx index dde62259009..addd11ffa35 100644 --- a/src/ui/views/GasAccount/components/DepositPopup.tsx +++ b/src/ui/views/GasAccount/components/DepositPopup.tsx @@ -109,6 +109,7 @@ const TokenSelector = ({ borderRadius: '16px 16px 0px 0', height: 500, }} + closeIcon={} closable >
@@ -283,7 +284,7 @@ export const GasAccountDepositPopup = (props: PopupProps) => { return (