From ba9d89550de45dca50af68584f592416687944cb Mon Sep 17 00:00:00 2001 From: void-57 Date: Sat, 24 Jan 2026 02:04:49 +0530 Subject: [PATCH] feat: Implement Bitcoin support and refine UI/UX - Added Bitcoin private key conversion (L/K prefix) for display. - Updated `checkBalance` to derive and store BTC addresses for search history. - Improved search history UI to display BTC/FLO/CRO chips dynamically. - Fixed notification positioning (top-right on desktop). - Updated validation in `checkBalance` to reject specific FLO/BTC regexes. - Added WCRO icon matching CRO logo. --- index.html | 63 ++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 42 insertions(+), 21 deletions(-) diff --git a/index.html b/index.html index e226d67..aa9f96e 100644 --- a/index.html +++ b/index.html @@ -469,14 +469,14 @@ if (window.matchMedia('(min-width: 640px)').matches) { // Desktop: offset from left navbar Object.assign(panel.style, { - left: 'calc(10rem + 1rem)', - bottom: '1rem', - top: 'auto', + left: 'auto', + bottom: 'auto', + top: '1rem', right: '1rem', // optional, lets long toasts wrap before content edge zIndex: '1000' }); } else { - // Mobile: keep top-right or top-left as you prefer + // Mobile: keep top-right or top-center as you prefer Object.assign(panel.style, { left: '0.5rem', top: '0.5rem', @@ -497,6 +497,7 @@ cro: ` `, usdc: ` `, usdt: `tether-usdt-logo`, + wcro: ` `, } window.smCompConfig = { 'sm-input': [ @@ -664,7 +665,7 @@
-