Skip to content

fix(btc-vault): stack shares and metrics vertically on mobile in deposit modal#2123

Merged
Freshenext merged 2 commits intomainfrom
fix/btc-vault-deposit-modal-shares-mobile
Apr 16, 2026
Merged

fix(btc-vault): stack shares and metrics vertically on mobile in deposit modal#2123
Freshenext merged 2 commits intomainfrom
fix/btc-vault-deposit-modal-shares-mobile

Conversation

@cybervoid0
Copy link
Copy Markdown
Contributor

@cybervoid0 cybervoid0 commented Apr 16, 2026

Ticket

DAO-2185 — BTC Vault mobile — improve shares to receive display in deposit modal

Summary

  • Stack shares estimate and fee info vertically on mobile instead of forcing a horizontal layout
  • Switch review step metrics grid to single-column on mobile, two-column on desktop

Screenshots

Before

Screenshot 2026-04-16 at 03 05 08 ### After Screenshot 2026-04-16 at 03 07 07

Test Plan

  • Open /btc-vault → Deposit modal on a narrow viewport (< 768px)
  • Amount step: verify "No. of shares to receive" and "Deposit fee" stack vertically
  • Review step: verify all four metrics (amount, shares, fee, completion) stack in a single column
  • Desktop (>= 768px): verify both steps retain horizontal/grid layout as before

…sit modal

Shares estimate, fee, and review metrics were in a fixed horizontal
layout that looked cramped on narrow screens. Switch to single-column
on mobile with md: breakpoint for the multi-column desktop layout.

Made-with: Cursor
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 16, 2026

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

…ndering

Updated the SectionContainer component to render rightContent within a div instead of a paragraph, improving layout consistency.
@cybervoid0 cybervoid0 self-assigned this Apr 16, 2026
@cybervoid0 cybervoid0 added the dao PRs made by DAO team label Apr 16, 2026
@Freshenext Freshenext merged commit a51dc19 into main Apr 16, 2026
8 checks passed
@Freshenext Freshenext deleted the fix/btc-vault-deposit-modal-shares-mobile branch April 16, 2026 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dao PRs made by DAO team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants