From 21982529fdd1409baaefb391784c190f99093caa Mon Sep 17 00:00:00 2001 From: Mothana Date: Fri, 4 Oct 2024 19:38:58 +0400 Subject: [PATCH] ui fix --- src/Components/Background.tsx | 1 - .../Modals/EditSourceModal/index.tsx | 2 +- .../EditSourceModal/styles/index.module.scss | 108 +----------------- 3 files changed, 4 insertions(+), 107 deletions(-) diff --git a/src/Components/Background.tsx b/src/Components/Background.tsx index 52b6e035..df2b08a2 100644 --- a/src/Components/Background.tsx +++ b/src/Components/Background.tsx @@ -227,7 +227,6 @@ export const Background = () => { } nostrSpends.forEach(async s => { const { pubkey, relays } = parseNprofile(s.pasteField) - console.log({relays}) const client = await getNostrClient({ pubkey, relays }, s.keys) await fetchSourceHistory(s, client, s.id) }) diff --git a/src/Components/Modals/EditSourceModal/index.tsx b/src/Components/Modals/EditSourceModal/index.tsx index 501e7e73..d260e523 100644 --- a/src/Components/Modals/EditSourceModal/index.tsx +++ b/src/Components/Modals/EditSourceModal/index.tsx @@ -221,7 +221,7 @@ export const EditSourceModal = () => { { (sourceToEdit.type === "payTo" && sourceToEdit.source.vanityName) && - {sourceToEdit.source.vanityName.split("@")[0]} + {sourceToEdit.source.vanityName.split("@")[0]} } diff --git a/src/Components/Modals/EditSourceModal/styles/index.module.scss b/src/Components/Modals/EditSourceModal/styles/index.module.scss index e09be128..4adce29f 100644 --- a/src/Components/Modals/EditSourceModal/styles/index.module.scss +++ b/src/Components/Modals/EditSourceModal/styles/index.module.scss @@ -88,99 +88,7 @@ } } } - .debit-info { - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - margin-bottom: 15px; - - .sats-amount { - width: 140px; - font-size: 36px; - font-weight: bolder; - } - .input { - @include input; - font-size: 36px; - color: white; - text-align: center; - } - - .sats-amount-input { - - width: 180px; - font-weight: bolder; - margin: 4px 0; - } - - - - .orange-text { - color: #ff7700; - font-size: 16px; - } - - .fiat { - color: #999999; - font-size: 12px; - - } - - - .rule-options { - display: flex; - align-items: center; - justify-content: center; - gap: 7px; - margin: 7px 0; - - &.disabled { - opacity: 0.5; - pointer-events: none; - } - - span { - font-size: 20px; - } - - .num-intervals-input { - @include input; - width: 30px; - height: 30px; - - font-size: 15px; - text-align: center; - } - - .dropdown-box { - @include input; - display: flex; - text-align: center; - justify-content: center; - align-items: center; - width: 8rem; - height: 30px; - } - } - - .adjust-checkbox-container { - display: flex; - justify-content: center; - align-items: flex-start; - padding-inline: 15px; - margin: 12px 0; - - p { - font-size: 11px; - text-align: left; - margin-left: 7px; - } - } - - - } .buttons-container { display: flex; justify-content: center; @@ -191,18 +99,8 @@ @include rainbow-button; } } - .checkbox-container { - display: flex; - align-items: center; - justify-content: center; - - span { - font-size: 20px; - margin-left: 5px; - font-weight: 500; - } - } - .faded-text { - color: #8c8c8c; + .ln-address { + text-align: center; + font-size: 12px; } } \ No newline at end of file