From 057f9986e14f5aa740ad157c9b9cabd460a21be4 Mon Sep 17 00:00:00 2001 From: haymond-ZK Date: Sun, 7 Apr 2024 14:53:33 +0800 Subject: [PATCH] fix: change merge switch style --- views/transactions/Deposit.vue | 37 ++++++++++++++++++++++++++-------- 1 file changed, 29 insertions(+), 8 deletions(-) diff --git a/views/transactions/Deposit.vue b/views/transactions/Deposit.vue index d31e823ef..9991a1e1c 100644 --- a/views/transactions/Deposit.vue +++ b/views/transactions/Deposit.vue @@ -119,14 +119,6 @@ -
- - Merge - - - Not Merge - -
Receive funds +
+ + Merge Token +
+ All supported source tokens with the same entity from different networks can be merged into a single merged token. Learn More. +
+
+ + {{ isMerge?'Merge':'Not Merge' }} Switch + +
Checking allowance error: {{ allowanceRequestError.message }} @@ -957,4 +960,22 @@ onboardStore.subscribeOnNetworkChange((newchainId) => { border-radius: 16px; background: rgba(23, 85, 244, 0.25) !important; } +.showTip:hover{ + .tooltip{ + display: block; + } +} +.tooltip{ + display: none; + position: absolute; + padding: 12px 20px 12px 24px; + top: -4.5rem; + width: 35rem; + left: -10rem; + border-radius: 8px; + background: #1F2127; + a{ + color: #1755F4; + } +}