Skip to content

Commit

Permalink
fixup refund button
Browse files Browse the repository at this point in the history
  • Loading branch information
dni committed Jan 3, 2024
1 parent 73fef26 commit e4c7d38
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/RefundStep.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const RefundStep = () => {
<hr />
<div class="btns btns-space-between">
<button
class="btn btn-light"
class="btn btn-light no-grow"
onClick={() => navigate("/swap/" + params.id)}>
{t("backup_skip")}
</button>
Expand Down
18 changes: 7 additions & 11 deletions src/components/DownloadRefund.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,13 @@ const DownloadRefund = () => {
};

return (
<div class="download-refund">
<button
class="btn btn-success"
onclick={() =>
isMobile
? downloadRefundQr(swap())
: downloadRefundJson(swap())
}>
{t("download_refund_file")}
</button>
</div>
<button
class="btn btn-success"
onclick={() =>
isMobile ? downloadRefundQr(swap()) : downloadRefundJson(swap())
}>
{t("download_refund_file")}
</button>
);
};

Expand Down
5 changes: 4 additions & 1 deletion src/style/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -229,12 +229,15 @@ hr.spacer {
.btns-space-between {
justify-content: space-between;
}
.btns > * {
.btns .btn {
display: inline-block;
width: auto;
margin: 3px;
flex-grow: 1;
}
.btns .no-grow {
flex-grow: 0;
}

.fee {
padding: 0 24px;
Expand Down

0 comments on commit e4c7d38

Please sign in to comment.