fix(layout): fix Init screen spacing regression from Ionic migration#592
fix(layout): fix Init screen spacing regression from Ionic migration#592sahilc0 wants to merge 2 commits into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
WalkthroughA single-line CSS change: ChangesCSS Layout Update
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Review rate limit: 0/1 reviews remaining, refill in 60 minutes.Comment |
Deploying tmp-boltz-upstream-mainnet-arkade-wallet with
|
| Latest commit: |
81f37dc
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://21dfa5bf.tmp-boltz-upstream-mainnet-arkade-wallet.pages.dev |
| Branch Preview URL: | https://wt-fix-init-spacing-20260501.tmp-boltz-upstream-mainnet-arkade-wallet.pages.dev |
Deploying wallet-bitcoin with
|
| Latest commit: |
81f37dc
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://f044fef0.wallet-bitcoin.pages.dev |
| Branch Preview URL: | https://wt-fix-init-spacing-20260501.wallet-bitcoin.pages.dev |
Deploying wallet-mutinynet with
|
| Latest commit: |
81f37dc
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://061b9931.arkade-wallet.pages.dev |
| Branch Preview URL: | https://wt-fix-init-spacing-20260501.arkade-wallet.pages.dev |
The Ionic→Tailwind migration replaced IonContent with a plain div but didn't add flex: 1 to make .content expand in the PageTransition flex container. This caused the Init screen content to bunch at the top instead of respecting justifyContent: flex-end. Adding flex: 1 allows .content to fill available space, fixing the spacing on the welcome screen.
a64ca5b to
4724358
Compare
There was a problem hiding this comment.
Arkana Code Review — fix(layout): fix Init screen spacing regression
Scope: CSS-only, single file (src/index.css). Not protocol-critical.
Issue: indentation regression
src/index.css:318 — overflow-y: auto; lost its 2-space indent. The diff shows the old line had leading spaces but the replacement doesn't:
- overflow-y: auto;
+overflow-y: auto;This is a formatting bug — the property should remain indented to match all other properties in the .content block. Please fix before merge.
The actual change (flex: 1) looks correct
Adding flex: 1 to .content is the right fix for making it expand inside a flex parent (PageTransition). The PR description clearly explains the root cause (Ionic→Tailwind migration dropped IonContent flex behavior). No functional concerns.
Verdict
Fix the whitespace on L318 and this is good to go. One-line nit, otherwise 👍.
|
@bordalix do i still need to test this? or is this fixed by your other one |
|
fixed already |

Summary
flex: 1to.contentCSS class to fix spacing regression on Init screenRoot cause
The Ionic→Tailwind migration (commit a6118aa) replaced
IonContentwith a plain<div>but didn't addflex: 1to make.contentexpand properly in thePageTransitionflex container. This broke thejustifyContent: flex-endlayout in Init.tsx.Test plan
Summary by CodeRabbit