Skip to content

Commit

Permalink
frontend: adjust padding & wordbreak for cta & action buttons
Browse files Browse the repository at this point in the history
With the current setup, on smaller screens, buy & receive
buttons have no proper padding.

For action buttons, on smaller screens, the buttons have improper
wordbreak causing them to look odd.
  • Loading branch information
shonsirsha committed Feb 3, 2025
1 parent eb7ec05 commit 6c7c932
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontends/web/src/routes/account/account.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
padding-bottom: 0;
}

.actionsContainer span {
word-break: normal;
}

.exchange,
.receive,
.walletConnect,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,9 @@
.walletConnect span {
margin-left: var(--space-eight);
}

@media (max-width: 768px) {
.buttons button {
padding: var(--space-quarter);
}
}

0 comments on commit 6c7c932

Please sign in to comment.