Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/screens/Deposit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export function Deposit({ onDone }: DepositProps) {
const balance = 240

return (
<main id="main-content" style={{ maxWidth: 520, margin: '0 auto', padding: '48px 24px 80px' }}>
<main id="main-content" className="hb-deposit-main" style={{ maxWidth: 520, margin: '0 auto' }}>
<Stepper step={step} />

{step === 'amount' && (
Expand Down
2 changes: 1 addition & 1 deletion src/screens/Withdraw.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export function Withdraw({ onDone, onBack }: WithdrawProps) {
const n = parseFloat(amount) || 0

return (
<main id="main-content" style={{ maxWidth: 520, margin: '0 auto', padding: '48px 24px 80px' }}>
<main id="main-content" className="hb-deposit-main" style={{ maxWidth: 520, margin: '0 auto' }}>
{step === 'amount' && (
<div style={panel}>
<h1 style={hw}>{t('h1')}</h1>
Expand Down
13 changes: 13 additions & 0 deletions src/styles/shell.css
Original file line number Diff line number Diff line change
Expand Up @@ -277,3 +277,16 @@
background: var(--ink-06);
}
}

/* --- Deposit/Withdraw responsive ------------------------------------------ */
.hb-deposit-main {
padding: 48px 24px 80px;
}

@media (max-width: 640px) {
.hb-deposit-main {
padding: 24px 16px 64px;
max-width: 100vw;
overflow-x: hidden;
}
}
Loading