Skip to content

Commit

Permalink
improvements on buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
dni committed Nov 8, 2023
1 parent e1619d2 commit 395900b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
17 changes: 10 additions & 7 deletions src/RefundStep.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,19 @@ const RefundStep = () => {
<h2>{t("backup_refund")}</h2>
<p>{t("backup_refund_subline")}</p>
<hr />
<DownloadRefund />
<hr />
<p style="font-size: 46px; margin:0;">⚠️</p>
<p>{t("backup_refund_skip")}</p>
<hr />
<button
class="btn"
onClick={() => navigate("/swap/" + params.id)}>
{t("backup_skip")}
</button>
<div class="btns btns-space-between">
<button
class="btn btn-light"
onClick={() => navigate("/swap/" + params.id)}>
{t("backup_skip")}
</button>
<div onClick={() => navigate("/swap/" + params.id)}>
<DownloadRefund />
</div>
</div>
</div>
</div>
);
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const dict = {
copy_amount: "Copy amount",
copy_bip21: "Copy BIP21",
copied: "Copied to clipboard!",
backup_skip: "Skip",
backup_skip: "Skip download",
backup_refund: "Backup Refund File",
backup_refund_subline:
"Save your refund file in a safe place. If your browser storage gets cleared, you will need this file to reclaim your funds. else they will be permanently lost!",
Expand Down
3 changes: 3 additions & 0 deletions src/style/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,9 @@ hr {
align-items: center;
justify-content: center;
}
.btns-space-between {
justify-content: space-between;
}
.btns > * {
display: inline-block;
width: auto;
Expand Down

0 comments on commit 395900b

Please sign in to comment.