diff --git a/frontends/web/src/routes/account/account.module.css b/frontends/web/src/routes/account/account.module.css index 1cc1233b83..58a36a2d07 100644 --- a/frontends/web/src/routes/account/account.module.css +++ b/frontends/web/src/routes/account/account.module.css @@ -9,15 +9,10 @@ justify-content: flex-start; } -.header { - display: flex; - flex-direction: row; - justify-content: space-between; - align-items: flex-start; - flex: none; - margin: 0 auto; - padding: var(--spacing-large) var(--spacing-large) 0 var(--spacing-large); - width: 800px; +@media (max-width: 768px) { + .accountHeader { + padding: 0 var(--space-half); + } } .actionsContainer { diff --git a/frontends/web/src/routes/account/account.tsx b/frontends/web/src/routes/account/account.tsx index 56983cfbf5..077020bf8b 100644 --- a/frontends/web/src/routes/account/account.tsx +++ b/frontends/web/src/routes/account/account.tsx @@ -309,45 +309,47 @@ export const Account = ({ {t('accountInfo.label')} + {status.synced && hasDataLoaded && isBitcoinBased(account.coinCode) && ( + + )} - - {status.synced && hasDataLoaded && isBitcoinBased(account.coinCode) && ( - - )} - -
- - {!isAccountEmpty && } -
- {isAccountEmpty && ( - - )} - - {!transactions?.success ? ( -
-

{t('transactions.errorLoadTransactions')}

+ +
+ +
+ + {!isAccountEmpty && }
- ) : ( - - {t('accountSummary.transactionHistory')} - {hasTransactions && ( - - )} - - )} + {isAccountEmpty && ( + + )} + + {!transactions?.success ? ( +
+

{t('transactions.errorLoadTransactions')}

+
+ ) : ( + + {t('accountSummary.transactionHistory')} + {hasTransactions && ( + + )} + + )} +
{hasTransactions ? ( transactions.list.map(tx => (