diff --git a/src/components/fb/CreateFidelityBond.module.css b/src/components/fb/CreateFidelityBond.module.css index 2b4545da..ecba3ef6 100644 --- a/src/components/fb/CreateFidelityBond.module.css +++ b/src/components/fb/CreateFidelityBond.module.css @@ -25,7 +25,13 @@ color: var(--bs-gray-600); } -.header .subtitle a { +.formMessageWhenBondAlreadyExists { + flex-shrink: 1; + font-size: 0.8rem; + color: var(--bs-gray-600); +} + +.formMessageWhenBondAlreadyExists a { color: inherit; } diff --git a/src/components/fb/CreateFidelityBond.tsx b/src/components/fb/CreateFidelityBond.tsx index 6179aaac..f96ce61a 100644 --- a/src/components/fb/CreateFidelityBond.tsx +++ b/src/components/fb/CreateFidelityBond.tsx @@ -617,7 +617,7 @@ const CreateFidelityBond = ({ otherFidelityBondExists, wallet, walletInfo, onDon } return ( -
+
{lockDate && timelockedAddress && selectedJar !== undefined && ( )} -
setShowCreateFidelityBondModal(!showCreateFidelityBondModal)}> -
-
- {otherFidelityBondExists - ? t('earn.fidelity_bond.title_fidelity_bond_exists') - : t('earn.fidelity_bond.title')} -
- + {otherFidelityBondExists ? ( +
+ setShowCreateFidelityBondModal(!showCreateFidelityBondModal)} + > + + {t('earn.fidelity_bond.title_fidelity_bond_exists')} +
-
- {otherFidelityBondExists ? ( - - e.stopPropagation()} - rel="noopener noreferrer" - href="https://github.com/JoinMarket-Org/joinmarket-clientserver/blob/master/docs/fidelity-bonds.md#what-amount-of-bitcoins-to-lock-up-and-for-how-long" - > - {/* i18n placeholder */} - - - ) : ( -
- - {t('earn.fidelity_bond.subtitle')} + ) : ( +
+
setShowCreateFidelityBondModal(!showCreateFidelityBondModal)}> +
+
{t('earn.fidelity_bond.title')}
+
- )} +
+
+ + {t('earn.fidelity_bond.subtitle')} +
+
+
-
+ )} {alert && setAlert(undefined)} />} + {otherFidelityBondExists && ( + + )}
{stepComponent(step)}
{!isLoading && primaryButtonText(step) !== null && (