Skip to content

Commit

Permalink
chore: make swap not found page look nicer
Browse files Browse the repository at this point in the history
  • Loading branch information
michael1011 committed Jan 16, 2025
1 parent 3b3dc42 commit a29d387
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/Pay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ const Pay = () => {
</Show>
</Show>
<Show when={!swap()}>
<p>{t("pay_swap_404")}</p>
<h2 class="not-found">{t("pay_swap_404")}</h2>
</Show>
<SettingsMenu />
</div>
Expand Down
6 changes: 6 additions & 0 deletions src/style/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -655,3 +655,9 @@ textarea {
header {
margin-bottom: 1rem;
}

.not-found {
margin-top: 2rem;
margin-bottom: 1rem;
color: vars.$primary;
}

0 comments on commit a29d387

Please sign in to comment.