fix: improve DEX page mobile UI — smaller back button, taller chart, compact swap card

- Back to Home button: smaller padding/font on mobile, pinned to corner
- PriceChart: increase height to 280px, stack header vertically on mobile
- TokenSwap: reduce padding/gaps/fonts on mobile, fix double-colon in balance text
This commit is contained in:
2026-02-24 23:48:17 +03:00
parent 385288dae3
commit 25754d2224
3 changed files with 17 additions and 17 deletions
+2 -2
View File
@@ -554,7 +554,7 @@ const AppLayout: React.FC = () => {
{(showDEX || showProposalWizard || showDelegation || showForum || showModeration || showTreasury || showStaking || showMultiSig || showEducation || showP2P) && (
<div className="fixed bottom-8 right-8 z-50">
<div className="fixed bottom-4 right-4 sm:bottom-8 sm:right-8 z-50">
<button
onClick={() => {
setShowDEX(false);
@@ -568,7 +568,7 @@ const AppLayout: React.FC = () => {
setShowEducation(false);
setShowP2P(false);
}}
className="bg-green-600 hover:bg-green-700 text-white px-6 py-3 rounded-full shadow-lg flex items-center gap-2 transition-all"
className="bg-green-600 hover:bg-green-700 text-white px-3 py-2 sm:px-6 sm:py-3 text-sm sm:text-base rounded-full shadow-lg flex items-center gap-2 transition-all"
>
{`${t('common.backToHome')}`}
</button>